Hi,
I'm setting up my first master DNS server and have had a hell of a time with all the documentation I've been reading. I have access to tons of the best documentation for DNS & BIND, but I'm not having much luck getting any of it to stick in my head. But maybe that's another story.
I've used the zone data files from the book DNS & BIND and have added them to /var/named/master/ directory, after altering them for my own domain.
If I start named, I get the following output:
Code:
# named -g
Sep 01 23:44:49.582 starting BIND 9.2.2 -g
Sep 01 23:44:49.582 using 1 CPU
Sep 01 23:44:49.590 loading configuration from '/etc/named.conf'
Sep 01 23:44:49.591 /etc/named.conf:3: option 'directory' contains relative path 'master'
Sep 01 23:44:49.592 listening on IPv6 interfaces, port 53
Sep 01 23:44:49.593 listening on IPv4 interface lo0, 127.0.0.1#53
Sep 01 23:44:49.594 listening on IPv4 interface fxp0, 192.168.1.3#53
Sep 01 23:44:49.601 none:0: open: /etc/rndc.key: file not found
Sep 01 23:44:49.602 couldn't add command channel 127.0.0.1#953: file not found
Sep 01 23:44:49.602 none:0: open: /etc/rndc.key: file not found
Sep 01 23:44:49.603 couldn't add command channel ::1#953: file not found
Sep 01 23:44:49.603 using pre-chroot entropy source /dev/arandom
Sep 01 23:44:49.603 ignoring config file logging statement due to -g option
Sep 01 23:44:49.606 zone 0.0.127.in-addr.arpa/IN: loaded serial 1
Sep 01 23:44:49.609 zone 1.168.192.in-addr.arpa/IN: loaded serial 1
Sep 01 23:44:49.612 zone mainlinecomputersupport.com/IN: loaded serial 1
Sep 01 23:44:49.612 running
Sep 01 23:44:49.613 zone mainlinecomputersupport.com/IN: sending notifies (serial 1)
Sep 01 23:44:49.615 zone 1.168.192.in-addr.arpa/IN: sending notifies (serial 1)
Sep 01 23:44:49.615 zone 0.0.127.in-addr.arpa/IN: sending notifies (serial 1)
^CSep 01 23:46:00.923 shutting down
Sep 01 23:46:00.924 no longer listening on ::#53
Sep 01 23:46:00.924 no longer listening on 127.0.0.1#53
Sep 01 23:46:00.924 no longer listening on 192.168.1.3#53
Sep 01 23:46:00.926 exiting
to me it looks as though named is running. But if I do a
I get a message that there was a timeout...no such server. So I'm not sure what's happening.
A couple of key points:
this server is on a DMZ that is not currently routing to the rest of the world, though it can communicate with the gateway/FW box and another server on the DMZ.
It will be the master server for a couple domains that I own and it will eventually be my main dns server on the global internet.
Anyone have any insight into what I'm missing here?
Thanks in advance for any help. The documentation I have helps to some degree, but I am new enough with this that it still confuses the hell out of me sometimes.