Q; the NS server IP entries in a zone file

Techie nomail at here.not.easynews.com
Tue Dec 20 10:44:50 UTC 2005


Ok, this will probably be as simple as my little training on how to set 
up BIND on Windows posted earlier.

I have a zone file named nsQexample.com.zone
Here is the contents...

--BEGIN ZONE FILE-----------

$TTL 900		; 900 seconds default record (T)ime (T)o (L)ive in 
cache
; Question about the NS1 - NS3 record entries below

@	SOA	ns1 (	; ns1.nsQexample.com is the prim srv for nsQexample.com
	      pmstr	; cntct email for nsQexample.com is 
pmstr at nsQexample.com
		2005122001	; Serial ID in reverse date format
		21600		; Refresh interval for slave servers
		1800		; Retry interval for slave servers
		604800	; Expire limit for cached info on slave servers
		900 )		; Minimum Cache TTL in zone records

@	NS	ns1		; ns1.nsQexample.com is a host for nsQexample.com
@	NS	ns2		; ns2.nsQexample.com is a host for nsQexample.com
@	NS	ns2		; ns3.nsQexample.com is a host for nsQexample.com

@	A	10.0.0.2	; nsQexample.com's IP address is 10.0.0.2

@	MX	10 mail	; Mail for *@nsQexample.com is sent to 
mail.nsQexample.com

ns1		A	10.0.0.2	; ns1.nsQexample.com's IP address is #.#.
#.2
ns2		A	10.0.0.3	; ns2.nsQexample.com's IP address is #.#.
#.3
ns3		A	10.0.0.4	; ns2.nsQexample.com's IP address is #.#.
#.4

mail		A	10.0.0.2	; mail.nsQexample.com's IP address is #.#.
#.2

www		A	10.0.0.2	; www.nsQexample.com's IP address is 
10.0.0.2

--END ZONE FILE-----------

Now my questions are as follows...

1) Assuming this file is stored on the machine named NS1.NSQEXAMPLE.COM

Would not the entries 

    @    NS ns2 ...and...
    @    NS ns3 

...conflict with the @ statement, pointing it to the current server?


2) Equally so, if this file was residing at NS3.NSQEXAMPLE.COM

Shouldn't the initial SOA record entry state ...

    @	SOA	ns3 (	; ns3.nsQexample.com is the prim srv for nsQexample.com

...rather than...

    @	SOA	ns1 (	; ns1.nsQexample.com is the prim srv for nsQexample.com



More information about the bind-users mailing list