Internal DNS resolution look up fails

Haim [Howard] Roman roman at jct.ac.il
Tue Jan 1 08:01:19 UTC 2008


Or trying running the following commands to check your DNS files:

    * named-checkconf
    * named-checkzone

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Haim (Howard) Roman
Computer Center, Jerusalem College of Technology
roman at jct.ac.il
Phone: 052-8-592-599 (6022 from within Machon Lev)


-------- Original Message  --------
Subject: Re:Internal DNS resolution look up fails
From: Barry Margolin <barmar at alum.mit.edu>
To: comp-protocols-dns-bind at isc.org
Date: Tue Jan 01 2008 09:16:25 GMT+0200 (IST)
> In article <flckoq$v1q$1 at sf1.isc.org>,
>  Bit Twister <BitTwister at mouse-potato.com> wrote:
>
>   
>> On Mon, 31 Dec 2007 16:37:46 +0000 (UTC), Bit Twister wrote:
>>     
>>> First time DNS newbie here. After 11 hours of howto/documents/template
>>> reading and attempts, I still can not resolve my node's name or ip.
>>>       
>> Fixed a few syntax problems, still fails
>>     
>
> Check your log to see if named is complaining about something when it's 
> trying to load the home.zone and home.reversed files.
>
>   
>> $ nslookup $(hostname)
>> Server:         192.168.1.130
>> Address:        192.168.1.130#53
>>
>> ** server can't find wb.home.invalid: SERVFAIL
>>
>> Current configuration
>>
>> $ ll /etc|grep /var  (snipped to fit screen)
>> lrwxrwxrwx   1 root   root bogon_acl.conf -> 
>> ../var/lib/named/etc/bogon_acl.conf
>> lrwxrwxrwx   1 root   root hosts -> ../var/lib/named/etc/hosts
>> lrwxrwxrwx   1 root   root named.conf -> ../var/lib/named/etc/named.conf
>> lrwxrwxrwx   1 root   root rndc.conf -> ../var/lib/named/etc/rndc.conf
>> lrwxrwxrwx   1 root   root rndc.key -> ../var/lib/named/etc/rndc.key
>> lrwxrwxrwx   1 root   root trusted_networks_acl.conf -> 
>> ../var/lib/named/etc/trusted_networks_acl.conf
>>
>>
>> # grep -v // /etc/named.conf
>>
>>
>> include "/etc/rndc.key";
>>
>> controls {
>>     inet 127.0.0.1 port 953
>>     allow { 127.0.0.1; } keys { mykey; };
>> };
>>
>> include "/etc/bogon_acl.conf";
>> include "/etc/trusted_networks_acl.conf";
>>
>> include "/etc/logging.conf";
>>
>> options {
>>     version "";
>>     directory "/var/named";
>>     dump-file "/var/tmp/named_dump.db";
>>     pid-file "/var/run/named.pid";
>>     statistics-file "/var/tmp/named.stats";
>>     zone-statistics yes;
>>     coresize 100M; 
>>     auth-nxdomain yes;
>>     query-source address * port *;
>>     listen-on port 53 { any; };
>>     cleaning-interval 120;
>>     transfers-in 20;
>>     transfers-per-ns 2;
>>     lame-ttl 0;
>>     max-ncache-ttl 10800;
>>
>>     forwarders { 208.67.222.222; 208.67.220.220; };
>>     
>>
>>     notify no; 
>>
>>     transfer-format many-answers; 
>>
>>     max-transfer-time-in 60; 
>>
>>     interface-interval 0; 
>>
>>
>>     allow-recursion { trusted_networks; };
>>
>>     blackhole { bogon; };
>> };
>>
>> zone "ac" { type delegation-only; };
>> zone "cc" { type delegation-only; };
>> zone "com" { type delegation-only; };
>> zone "cx" { type delegation-only; };
>> zone "lv" { type delegation-only; };
>> zone "museum" { type delegation-only; };
>> zone "net" { type delegation-only; };
>> zone "nu" { type delegation-only; };
>> zone "ph" { type delegation-only; };
>> zone "sh" { type delegation-only; };
>> zone "tm" { type delegation-only; };
>> zone "ws" { type delegation-only; };
>>
>> zone "." IN {
>>         type hint;
>>         file "named.ca";
>> };
>>
>> zone "localdomain" IN {
>>         type master;
>>         file "master/localdomain.zone";
>>         allow-update { none; };
>> };
>>
>> zone "localhost" IN {
>>         type master;
>>         file "master/localhost.zone";
>>         allow-update { none; };
>> };
>>
>> zone "0.0.127.in-addr.arpa" IN {
>>         type master;
>>         file "reverse/named.local";
>>         allow-update { none; };
>> };
>>
>> zone "0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.ip6.arpa" 
>> IN {
>>         type master;
>>         file "reverse/named.ip6.local";
>>         allow-update { none; };
>> };
>>
>> zone "255.in-addr.arpa" IN {
>>         type master;
>>         file "reverse/named.broadcast";
>>         allow-update { none; };
>> };
>>
>> zone "0.in-addr.arpa" IN {
>>         type master;
>>         file "reverse/named.zero";
>>         allow-update { none; };
>> };
>>
>> zone "home.invalid" IN {
>>         type master;
>>         file "master/home.zone";
>>         allow-update { none; };
>> };
>>
>> zone "1.168.192.in-addr.arpa" IN {
>>         type master;
>>         file "reverse/home.reversed";
>>         allow-update { none; };
>> };
>>
>>
>> $ head -13 /var/lib/named/var/named/master/home.zone
>> $TTL 86400      ; 1 day
>> @               IN SOA  home.invalid root (
>>                                 19              ; serial
>>                                 1D              ; refresh
>>                                 6H              ; retry
>>                                 1W              ; expire
>>                                 1H              ; minimum
>>                                 )
>>         IN NS   home.invalid
>> fw      IN A    192.168.1.11
>> wb1     IN A    192.168.1.12
>> wb      IN A    192.168.1.130
>> beta    IN A    192.168.1.131
>>
>>
>> $ head -14 /var/lib/named/var/named/reverse/home.reversed
>> $TTL 86400      ; 1 day
>> @               IN SOA  home.invalid. (
>>                                 19              ; serial
>>                                 8H              ; refresh
>>                                 4H              ; retry
>>                                 1W              ; expire
>>                                 1D              ; minimum
>>                                 )
>>         IN      NS      wb.home.invalid.
>>         IN      PTR     wb.home.invalid.
>> 11      IN      PTR     fw.home.invalid.
>> 12      IN      PTR     wb1.home.invalid.
>> 130     IN      PTR     wb.home.invalid.
>> 131     IN      PTR     beta.home.invalid.
>>     
>
>   




More information about the bind-users mailing list