Eureka -- Almost !!

Desmond Coughlan desmond at cybercable.fr
Tue May 22 07:51:37 UTC 2001


Yes !!
I want to thank the people on this list, who helped me to get my BIND 9
installation up and (almost) running.

I came in this morning, added the preference value to my
company.internal.com.db file, and rebooted.

dmesg reveals this ...

# dmesg |grep -i named
May 22 09:04:59 dnsx /usr/local/sbin/named[175]: [ID 866145 daemon.notice]
starting BIND 9.1.2
May 22 09:05:02 dnsx /usr/local/sbin/named[175]: [ID 866145
daemon.warning] the default for the 'auth-nxdomain' option is now 'no'
May 22 09:05:03 dnsx /usr/local/sbin/named[175]: [ID 866145
daemon.warning] dns_master_load: company.internal.com.db:12: ignoring
out-of-zone data

Firstly, what is the last line ?  I checked the file, and the only like
that is 'out of zone', is the machine which is primary for company.us.com,
and for which this machine is secondary, _and_ from which my server,
_should_ be pulling data for zone transfers ...

# cat /etc/namedb/company.internal.com.db
$TTL 3600
company.internal.com.   SOA
dnsx.company.internal.com. dns.company.fr. (
                                        2000051800 86400 7200 3600000 10800 )
company.internal.com.	NS	dnsx.company.internal.com.
company.internal.com.   NS      cork.company.us.com.
company.internal.com.	MX 50	smtp.company.internal.com.
www.company.internal.com.	A	192.168.1.250
dnsx.company.internal.com.	A	192.168.3.191
smtp.company.internal.com.	A	192.168.1.250
lesulis01.company.internal.com.	A	192.168.3.10
cork.company.us.com.		A	192.168.64.12

Now, that's one question.  If I logon to the new server, and type :

# nslookup smtp
Server:  localhost
Address:  127.0.0.1

Name:    smtp.company.internal.com
Address:  192.168.1.250

It works !!

However, if I try to obtain an address for a machine _not_ in the zone
file, I get :

# nslookup foehn
Server:  localhost
Address:  127.0.0.1

Name:    foehn
Served by:
- J.ROOT-SERVERS.NET
        
        
- K.ROOT-SERVERS.NET
        
        
- L.ROOT-SERVERS.NET
        
        
- M.ROOT-SERVERS.NET
        
        
- A.ROOT-SERVERS.NET
        
        
- B.ROOT-SERVERS.NET
        
        
- C.ROOT-SERVERS.NET
        
        
- D.ROOT-SERVERS.NET
        
        
- E.ROOT-SERVERS.NET
        
        
- F.ROOT-SERVERS.NET

What I want to do in this case, is temporarily make this machine slave for
the domain company.internal.com, force it to perform a zone transfer from
a machine which is already running DNS here (and which I haven't mentioned
yet) called meteore3.company.internal.com.  

Can I do this in the /etc/named.conf and then once the data is obtained,
just 'demote' my machine to secondary ?

Second, why are zone transfers to and from cork, not working ?

Thanks in advance, guys ... :)

D.

-- 
Desmond Coughlan               |Restez Zen ... UNIX peut le faire
desmond at cybercable.fr          |YGL#4 YFC#1 YFB#1 UKRMMA#14 two#38
http://www.chez.com/desmondcoughlan/
Clé Publique: http://www.chez.com/desmondcoughlan/pgp/pubring.pkr






More information about the bind-users mailing list