tagged [dns]

Determine if Host Is Resolved DNS Name Or IP

Determine if Host Is Resolved DNS Name Or IP If one is extracting a `HOST` value from an `HttpContext`'s `HttpRequest`'s `Headers` collection, is there a way of determining if the value returned is a ...

12 May at 14:9

Get IPv4 addresses from Dns.GetHostEntry()

Get IPv4 addresses from Dns.GetHostEntry() I've got some code here that works great on IPv4 machines, but on our build server (an IPv6) it fails. In a nutshell: The documentation for GetHostEntry says...

29 Jun at 17:38

Persistent storage of encrypted data using .Net

Persistent storage of encrypted data using .Net I need to store encrypted data (few small strings) between application runs. I do not want the user to provide a passphrase every time (s)he launches th...

30 Sep at 18:53

Getting members of an AD domain group using Sharepoint API

Getting members of an AD domain group using Sharepoint API In my Sharepoint code I display a list of all defined users via: The great part is, I can add a domain security group to a Sharepoint group (...

Property interception of Grails domain classes

Property interception of Grails domain classes I would like to intercept calls to properties of domain classes to implement access control. My first try was to override setProperty and getProperty. By...

11 Feb at 17:43

Wildcards in a Windows hosts file

Wildcards in a Windows hosts file I want to setup my local development machine so that any requests for `*.local` are redirected to `localhost`. The idea is that as I develop multiple sites, I can jus...

20 Mar at 04:10

what is the multicast doing on 224.0.0.251?

what is the multicast doing on 224.0.0.251? On my debian server (squeeze) I get this message every few seconds: > Sep 18 21:28:14 myhost kernel: [7903784.720091] AIF:UNPRIV connect attempt: IN=eth0 O...

4 Sep at 23:40

If you are forced to use an Anemic domain model, where do you put your business logic and calculated fields?

If you are forced to use an Anemic domain model, where do you put your business logic and calculated fields? Our current O/RM tool does not really allow for rich domain models, so we are forced to uti...

Get domain name

Get domain name My computer is in a Domain (Active Directory) and I need to get the domain name dynamically. I found the following code on the internet: ``` SelectQuery query = new SelectQuery("Win32_...

29 Sep at 13:57

Can I configure a subdomain to point to a specific port on my server

Can I configure a subdomain to point to a specific port on my server I have an old computer which I converted into a Minecraft server. I have 2 Minecraft servers running simultaneously, one on port 25...

21 Jun at 15:52

How to check if DNS server is set to 'obtain automatically'

How to check if DNS server is set to 'obtain automatically' When I get my servers DNS settings using the DNSServerSearchOrder property of my network card's settings, it returns the DNS server that it ...

13 Nov at 19:23

What methods should go in my DDD factory class?

What methods should go in my DDD factory class? I am struggling to understand what my factory class should do in my DDD project. Yes a factory should be used for creating objects, but what exactly sho...

Docker apt-get update fails

Docker apt-get update fails Can somebody help me get apt-get working in my docker container? Whenever I try running any apt-get command in my docker container, the command fails. I'm running Docker ve...

9 Nov at 07:45

Can I temporarily override DNS resolution within a .NET application?

Can I temporarily override DNS resolution within a .NET application? I have some wrapper code that runs a set of NUnit tests that scan live websites for certain response codes. I'd like to run these t...

31 Dec at 04:18

Adapting Linq Entity objects to Domain objects

Adapting Linq Entity objects to Domain objects I have the following code which adapts linq entities to my Domain objects: ``` return from g in DBContext.Gigs select new DO.Gig { ...

17 Nov at 17:32

Virtual network interface in Mac OS X

Virtual network interface in Mac OS X I know that you can make a virtual network interface in Windows (see [here](http://support.microsoft.com/kb/236869)), and in Linux it is also pretty easy with ip-...

27 Jun at 06:14

Is there a low level TCP appender for log4net?

Is there a low level TCP appender for log4net? I've been using the [UDPAppender](http://logging.apache.org/log4net/release/sdk/log4net.Appender.UdpAppender.html) to send logs to [logstash](http://logs...

29 Aug at 18:51

Creating self signed certificate for domain and subdomains - NET::ERR_CERT_COMMON_NAME_INVALID

Creating self signed certificate for domain and subdomains - NET::ERR_CERT_COMMON_NAME_INVALID I followed [this](http://dltr.org/blog/server/573/How-to-install-SSL-on-windows-localhost-wamp) tutorial ...

25 Apr at 04:46

Dns.BeginGetHost... methods blocking

Dns.BeginGetHost... methods blocking So I want to make a of DNS queries. I create (thousands) of Tasks from the `Begin/EndGetHostEntry` async pair: then `Task.WaitAll` for everything to complete. I'm ...

14 Jul at 03:20

Top level domain from URL in C#

Top level domain from URL in C# I am using C# and ASP.NET for this. We receive a lot of "strange" requests on our IIS 6.0 servers and I want to log and catalog these by domain. Eg. we get some strange...

31 Dec at 20:15

How do I clear System.Net client DNS cache?

How do I clear System.Net client DNS cache? I'm using the .NET WebRequest while changing my HOSTS file. I'm observing that System.Net doesn't honor those changes - how can I make it do so? I have a nu...

1 Sep at 23:5

Docker-compose container using host DNS server

Docker-compose container using host DNS server I'm running several containers on my "Ubuntu 16.10 Server" in a "custom" bridge network with compose 2.9 (in a yml version 2.1). Most of my containers ar...

21 May at 13:50

ServiceStack google OpenID suddenly not logging in

ServiceStack google OpenID suddenly not logging in Got a site still in dev that uses ServiceStack's Open ID implementation to sign in users. It's been working fine all this time, suddenly today mornin...

11 Mar at 15:12

Is it safe to publish Domain Event before persisting the Aggregate?

Is it safe to publish Domain Event before persisting the Aggregate? In many different projects I have seen 2 different approaches of raising Domain Events. 1. Raise Domain Event directly from aggregat...

16 Apr at 11:5

C# Active Directory: Get domain name of user?

C# Active Directory: Get domain name of user? I know that this type of question has been asked before, but other methods are failing me right now. As it stands our windows service polls AD, given an L...

22 Nov at 21:56