forwarder

Joseph S D Yao jsdy at cospo.osis.gov
Mon Sep 13 18:30:59 UTC 1999


> When I put some host that I cannot reach 
> then It takes 24 seconds extra to resolve.
> 
> I have tried to put myself in the root.hints.
> It also works fast but I get a few errors.
> 
> A bit help with these errors, 
> might make the setup a bit more canonical
> 
> roots.hints 
> -----------
> .       6D      IN      NS      narada.col7.metta.lk.
> narada.col7.metta.lk.        5w6d16h IN      A       172.16.1.1
> 
> --------------
> ndc stop/start
> --------------
> Sep 12 20:23:08 narada named[7018]: listening on [127.0.0.1].53 (lo)
> Sep 12 20:23:08 narada named[7018]: listening on [172.16.1.2].53 (eth0)
> Sep 12 20:23:08 narada named[7018]: Forwarding source addressis[0.0.0.0].1051
> Sep 12 20:23:08 narada named[7019]: Ready to answer queries.
> ---------------
> login usr sangha recive one test letter.
> ---------------
> Sep 12 20:29:07 narada pppd[7044]: user sangha logged in
> Sep 12 20:29:07 narada kernel: PPP BSD Compression module registered
> Sep 12 20:29:08 narada kernel: PPP Deflate Compression module registered
> Sep 12 20:29:08 narada pppd[7044]: local  IP address 172.16.1.1
> Sep 12 20:29:08 narada pppd[7044]: remote IP address 10.0.0.3
> Sep 12 20:29:08 narada pppd[7044]: CCP terminated by peer
> Sep 12 20:29:08 narada pppd[7044]: Compression disabled by peer.
> Sep 12 20:29:08 narada named[7019]: reloading nameserver
> Sep 12 20:29:08 narada named[7019]: listening on [172.16.1.1].53 (ppp0)
> Sep 12 20:29:08 narada named[7019]: Forwarding source addressis[0.0.0.0].1051
> Sep 12 20:29:08 narada named[7019]: Ready to answer queries.
> Sep 12 20:29:18 narada named[7019]: ns_forw: query(3.0.0.10.in-addr.arpa)
> contains our address (narada.col7.metta.lk:172.16.1.1)
> Sep 12 20:29:18 narada named[7019]: ns_forw: query(3.0.0.10.in-addr.arpa)
> No possible A RRs
> Sep 12 20:29:18 narada named[7019]: sysquery: query() contains our address
> (narada.col7.metta.lk:172.16.1.1)
> Sep 12 20:29:18 narada named[7019]: sysquery: query() No possible A RRs
> Sep 12 20:29:21 narada pppd[7044]: LCP terminated by peer
> Sep 12 20:29:24 narada PAM_pwdb[7044]: (ppp) session closed for usersangha
> Sep 12 20:29:24 narada pppd[7044]: Connection terminated.
> Sep 12 20:29:24 narada pppd[7044]: Connect time 0.5 minutes.
> Sep 12 20:29:24 narada pppd[7044]: Sent 2793 bytes, received 2471 bytes.
> Sep 12 20:29:24 narada pppd[7044]: Exit.
> -----------------------------------------
> 
> Your comments are very helpful
> 
> With thanks
> Jacob

It looks like you are putting the name of the DNS server itself into
the "hints" file!  You must not do this.

Your network may look something like this:


	Internet
	   |
	   |
	bastion
	   |
	   |
	=====================================  network
	| ... | ... | ... | ... | ... | ... |
	    narada
	     DNS


You must put the "bastion" host's name and IP address in the "hints"
file, and the same IP address in as a "forwarder" in narada's config
file.  If this is exactly your network configuration, then your DNS
configuration should also specify "forward only".

--
Joe Yao				jsdy at cospo.osis.gov - Joseph S. D. Yao
COSPO/OSIS Computer Support					EMT-B
-----------------------------------------------------------------------
	PLEASE ... send or Cc: all "COSPO/OSIS Computer Support"
		     mail to sys-adm at cospo.osis.gov
-----------------------------------------------------------------------
      This message is not an official statement of COSPO policies.


More information about the bind-users mailing list