dns

WCF client endpoint identity - configuration question

Hi all, I'm having a strange situation here. I got it working, but I don't understand why. Situation is as follows: There is a WCF service which my application (a website) has to call. The WCF service exposes a netTcpBinding and requires Transport Security (Windows). Client and server are in the same domain, but on different servers....

php tool - Extracting domain names from a zone file?

hi, i have access to the zone file for a tld. How can I extract just the domain names in the fastest possible way? Any suggestions on how to store them in a database/file? There are millions of them. ...

How shared hostings, domain names and DNS work together?

Hi, I 've this little doubt but I couldn't find information about it, probably because I'm not searching the correct thing. When a browser ask for "www.mydomain.com", the DNS server returns an IP Address, then the browser go there... but what does happen then? I mean, that IP address could be a shared hosting that contains hundreds of ...

UNIX script to parse Zone file (is this the best code?)

Hi, FOund the following on: http://mike.murraynet.net/2009/08/23/parsing-the-verisign-zone-file-with-os-x/ Can unix-masters have a look at it and see if its the best possible way to gather the unique domainsnames in a zone file? For .NET domains: grep “^[a-zA-Z0-9-]+ NS .” net.zone|sed “s/NS .//”|uniq >> netdomains.txt For .COM domai...

java add dns cache record

Is it possible to add a record to the dns cache from java? Or will I have to use the JNI? ...

Change IP where domain is pointing

This is probably a very strange request. I need to programmaticaly (via code) change the IP where a domain name is pointing to. IE: xyz.com points to 100.100.100.100 setIP('xyz.com','100.100.100.100'); I know this [code] is practically impossible, however, what I need is to do this via domain host API etc or other possible ways you ...

How can I do DNS lookups in Python, including referring to /etc/hosts?

dnspython (http:/www.dnspython.org) will do my DNS lookups very nicely, but it entirely ignores the contents of /etc/hosts. Is there a python library call which will do the right thing? ie check first in /etc/hosts, and only fallback to dns lookups otherwise? ...

Need to use dnscmd to modify the ttls of a list of records..

Hi, I have a list of records that all need their individual TTLs modified. I can't seem to find a way with this odd syntax to do so, however. Any recommendations? Would I have to delete them all and then re-add after with the correct settings? I can't seem to find a "modifyrecord" option unfortunately :( ...

Amazon ELB CNAME record not working

Hi there, I have set up my EC2 infrastructure behind an ELB instance and by using the ELBs DNS name everything works as expected. Now i wanted to forward a subdomain of my main project domain to the ELBs DNS Name with a CNAME entry. I did this about 12 hours ago and it doesnt seem to work, and i dont know why. The subdomain just cant be...

Best and most convenient way of handling multiple sites for different clients?

A very broad question, but how would you handle multiple domain names for different clients? Do you setup a "Web Hosting"-like server where you install Cpanel? What are other cheaper alternatives to Cpanel? ...

DNS protocol message example

hello there, I am trying to figure out how to send out DNS messages from an application socket adapter to a DNSBL. I spent the last two days understanding the basics, including experimenting with WireShark to catch an example of message exchanged. Now I would like to query the DNS without using dig or host command (I'm using Ubuntu); how...

Manage DNS Zone in "slave" Mode with MS Windows 2008 R2

Hello @all following issue, I configure a DNS Zone "location.domain.tld" for my internal Network and it works well, but now I want to manage the domain.tld for my internal Network, but the domain.tld is managed by an external DNS Provider. In location.domain.tld there are all Clients and Servers for internal use only (with local IPs)...

Twisted dns client

Hey, I"m using twisted framework to do some async reverse DNS resolving. I want to be able to test it against number of nameservers. As i thought from reading the API docs when i create a Resolver object like this: nameservers = [('4.2.2.2', 53), ('4.2.2.3', 53)] r = client.createResolver(servers=nameservers) It will query both n...

Slow 'unknown host' response to networked macs from router? (Suddenly!)

Some IOError response tests in my unit test suite suddenly started failing. Have passed several times daily for months, only started failing today - they had a time out of 2 seconds. Chasing this up I found that it was taking over 30 seconds for the IOError to be produced. We're accessing the web (BT broadband DSL) via a wireless router...

Has anyone setup DKIM with the CakePHP Email Component?

Has anyone successfully setup "Domain Keys Identified Mail" in a CakePHP app with the built-in email component? I'm trying to implement part two of Jeff Atwood's spam protection post: http://www.codinghorror.com/blog/2010/04/so-youd-like-to-send-some-email-through-code.html I'm not finding any good tutorials or sample code online for...

1 domain.. 2 server and 2 applications

i have a site like twitter.com on server one and on server two i have forum, which path is like domain.com/forum on server one i wanted to implement wild card dns and put main domain on it. but on server two i wanted to keep forum separate, i cant give sub-domain forum.domain.com, because all its links are already put in search engines ...

Determining the hostname/IP address from the MX record in PHP

Hi there, have a basic email domain validation script that takes a user's email domain, resolves the IP address from that and then checks that against various published blacklists. Here is how I am determining the IP: $domain = substr(strchr($email, '@'), 1); $ip = gethostbyname($domain); The problem is that some email address do...

Howto check if two hosts are the same

Hi, I just came across an issue, where I had to check if a path points into a windows share. Part of this problem is to check if host A is the same as host B. Where host A and host B can be one of the following {IPv4-Address, IPv6-Address, Hostname, FQDN}. As I do not need to be exact it's enough to resolve and compare the IP-Addresses ...

UnknownHostException in java (that too only sometimes)

Hello, I am trying to read rss feed of Yahoo but i am unable to make it work properly. The code is absolutely correct , i am sure about it. It works sometimes but sometimes i get UnknownHostException. What can be the reason? Is there some problem with my internet or something else? This is my code :- public List<RssFeed> getRssFeed() ...

Without using PECL or system() type functions, is there a way to look up DNS records using PHP?

I'm working on creating a new type of email protocol, and in order to do that I had to set up an SRV DNS record for my domain. In promoting this protocol, I'll need to be able to discover if a given host uses my system (and if not fall back to an older protocol). So, is there a way to pull a DNS record (such as SRV) using PHP without u...