Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I setup a domain the other day and configured it to use my nameserver ns1.mydomain.net. Days later, my queries all respond with non-existent domain.

Here's my Bind9 config files

[user@host bind]$ cat named.conf.local
zone "mywebsite.com.au" {
        type master;
        file "/etc/bind/zones/mywebsite.com.au.db";
};

[user@host bind]$ cat /etc/bind/zones/mywebsite.com.au.db
$TTL    604800
@       IN      SOA     ns1.mydomain.net. admin.mywebsite.com.au. (
        2006081401      ; Serial
        7200            ; Refresh
        120             ; Retry
        2419200         ; Expire
        604800          ; Default TTL
)

@       IN      NS      ns1.mydomain.net

mywebsite.com.au.         IN      A       1.1.1.1
www                       IN      A       1.1.1.1

The domain, mywebsite.com.au is using the nameserver ns1.mydomain.net.

When I manually query the nameserver using nslookup www.mywebsite.com.au ns1.mydomain.net, it replies correctly.

What could be causing the issue? Could Bind be blocking queries? That seems odd given I can query it directly.

share|improve this question
1  
Can you tell us what your real domain and NS are? It's looking like something's wrong with your registrar or possibly glue records. –  Mark Henderson Aug 9 '10 at 5:06
1  
Did you remember to do an RNDC RELOAD or restart named? –  John Gardeniers Aug 9 '10 at 5:40
    
try using this tool intodns.com to verify your domain condition and post us a reply –  Prix Aug 9 '10 at 5:41
    
@farseeker: as stupid as it sounds, I'd rather leave that as a last resort. @john: nope. Will do that now. @prix: I'll take a look at that tool now. –  Rob Aug 9 '10 at 5:55
    
It seems I forgot to add a period after my nameserver deceleration in the zone file. Noticed it when intodns.com reported the nameserver as being ns1.mydomain.net.mywebsite.com.au xD –  Rob Aug 9 '10 at 6:11

1 Answer 1

http://www.intodns.com is a fine resource to verify a domain dns similar to dnstuff.com that is now paid.

It has helped me quiet a few times as it seems to have helped you :)...

Guess we all missed the small mistake of the period ehehe...

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.