zone files and appended domain names

gbjbaanb

Verified User
Joined
Jan 10, 2006
Messages
71
Hi.

I have an issue with my nameservers in DA.

I have a new domain that I'm playing with (timberdragon.co.uk) and it is registered with 1&1.

So, I've been into the 1&1 admin, and assigned timberdragon.co.uk's NS to be my nameserver (ns2.icecap-websolutions.co.uk as the primary, and the 1&1 NS as the secondary).

This normally works fine, but when I look at the domain in http://www.dnsreport.com/tools/dnsreport.ch?domain=timberdragon.co.uk I see the following:

Your NS records at the parent servers are:

slv2.1and1.co.uk. [212.227.123.29 (NO GLUE)] [DE]
ns2.icecap-websolutions.co.uk. [85.234.138.175 (NO GLUE)] [UK]
(so far so good, this is what I expect!)
but also:

Your NS records at your nameservers are:

slv2.1and1.co.uk.timberdragon.co.uk. [no glue provided] [TTL=14400]
ns2.icecap-websolutions.co.uk.

Which is not what I expected! I see that DA has written the zone file with timberdragon.co.uk at the beginning of the line

timberdragon.co.uk. 14400 IN NS slv2.1and1.co.uk

but I would expect this to be:

IN NS slv2.1and1.co.uk


So.. my question is.. what's going on? Can someone explain any reason why the domain is appended to the 1&1 name, and why the zone file contains the domain name, even when the include entry in named.conf already specifies the zone?
 
You need to have a period after the hostname, eg:
timberdragon.co.uk. 14400 IN NS slv2.1and1.co.uk.
instead of
timberdragon.co.uk. 14400 IN NS slv2.1and1.co.uk

EDIT. And as for why the domain name has to be included, I guess that it's because you could specify entries for more than one domain in one zone file?
 
Last edited:
thanks very much, that was it.

I assumed that entering the NS through the control panel would just handle that kind of thing for me (it is designed to make things simple isn't it?!!)
 
You can't blame DA for that. Both are valid entries, with and without the dot at the end, they just mean different things. One may not produce the result you were looking for, but it is impossible for DA to know which one you wanted. Blaming DA for this would be like blaming your spelling checker for not correcting the word "than", just because you meant to use "then". After all, both are valid words.
 
Back
Top