|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
BIND server doesn't resolve private domain
Hi,
I am trying to setup a private domain zone (e.g. mydomain.local) on a BIND 9.2.2 server. This server is just a caching-only name server (not authorized for any zones.). I created a zone entry in the named.conf file and also the zone file mydomain.local.zone for this private domain. When I use nslookup or dig to query the server, every public domain is queryable except this private domain (and it is the only one). I did use named-checkconf and named-checkzone to verify these configuration files. My understanding is if I send a query to the name server, it will check its named.conf file. If it find a zone entry with a matched name, it will return the zone information. But I just can't get it resolve the private domain name. Would anyone tell me what do I miss in this situation? Also, named doesn't seem to be able to create a log file even I have configured it in the named.conf. Thanks Keith // generated by named-bootconf.pl options { directory "/var/named"; /* * If there is a firewall between you and nameservers you want * to talk to, you might need to uncomment the query-source * directive below. Previous versions of BIND always asked * questions using port 53, but BIND 8.1 uses an unprivileged * port by default. */ // query-source address * port 53; }; // // a caching only nameserver config // controls { inet 127.0.0.1 allow { localhost; } keys { rndckey; }; }; logging { channel query_logging { file "query.log" versions 3 size 100M; print-category yes; print-severity yes; print-time yes; }; category queries { query_logging; }; }; zone "." IN { type hint; file "named.ca"; }; zone "localhost" IN { type master; file "localhost.zone"; allow-update { none; }; }; zone "0.0.127.in-addr.arpa" IN { type master; file "named.local"; allow-update { none; }; }; zone "mydomain.local" { type master; file "mydomain.local"; }; include "/etc/rndc.key"; |
|
#2
|
||||
|
||||
|
show me the results of this command:
ps -Af | grep 'named'
__________________
Send me a private message if you would like me to setup your DNS for you for a price of your choosing. This is the preferred method if your DNS needs to be fixed/setup fast and you don't have the time to bounce messages back and forth on a forum. Also, check out these links: Whois Direct | DNS Crawler | NS Trace | Compare Free DNS Hosts |
|
#3
|
|||
|
|||
|
Hi SilentRage,
Here is output of the command, thanks. named 6635 1 0 Jul29 ? 00:00:00 /usr/sbin/named -u named -t /var/named/chroot root 7188 7139 0 07:34 pts/3 00:00:00 grep named Keith |
|
#4
|
|||
|
|||
|
Hi,
I have figured out what the problem was. BIND was configured to use /var/named/chroot as the working directory. However, I put all my zone file in the /etc/named directory and that is why no zone file is loaded when named is started. Thanks again for your hints. Keith |
|
#5
|
||||
|
||||
|
hehehe, I love it when I hit a problem right on the nose straight up. That's why I had ya run that command, I wanted a peek to see if it used chroot.
![]() |
![]() |
| Viewing: Dev Shed Forums > System Administration > DNS > BIND server doesn't resolve private domain |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|