how to create a private "test." zone?
Rui Lopes
rgl at ruilopes.com
Sun Mar 1 21:59:08 UTC 2009
Stephane Bortzmeyer wrote:
> On Sun, Mar 01, 2009 at 08:46:11PM +0000,
> Rui Lopes <rgl at ruilopes.com> wrote
> a message of 168 lines which said:
>
>
>> I did the delegation by
>> adding the following RR in the "test." zone (in the Sun host):
>>
>> example IN NS plesk
>>
>
> May be an error prevented the loading of the zone? Check the SOA
> serial number, as published by this server, and check BIND log files.
>
> [Because your setup and files seem OK.]
>
I've changed the serial to 2009030100 and I don't see any error on the logs:
Mar 1 21:53:05 sun named[5919]: zone test/IN: loaded serial 2009030100
I've also increased the log level using:
rndc trace 99
rndc querylog
And checked the zone with:
named-checkzone -D -d test /etc/bind/test.zone
loading "test" from "/etc/bind/test.zone" class "IN"
zone test/IN: loaded serial 2009030100
dumping "test"
test. 600 IN SOA sun.test. hostmaster.test.
2009030100 600 900 1814400 600
test. 600 IN NS sun.test.
example.test. 600 IN NS plesk.test.
plesk.test. 600 IN A 192.168.2.10
sun.test. 600 IN A 192.168.2.1
OK
Finally, checked the SOA value as:
dig soa test
; <<>> DiG 9.4.2-P2 <<>> soa test
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 11705
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 1
;; QUESTION SECTION:
;test. IN SOA
;; ANSWER SECTION:
test. 600 IN SOA sun.test. hostmaster.test.
2009030100 600 900 1814400 600
;; AUTHORITY SECTION:
test. 600 IN NS sun.test.
;; ADDITIONAL SECTION:
sun.test. 600 IN A 192.168.2.1
;; Query time: 1 msec
;; SERVER: 192.168.2.1#53(192.168.2.1)
;; WHEN: Sun Mar 1 21:58:22 2009
;; MSG SIZE rcvd: 103
Still, no go. Any other suggestion?
Thanks!
Best regards,
Rui Lopes
More information about the bind-users
mailing list