Forwarding issues

Mark_Andrews at isc.org Mark_Andrews at isc.org
Mon Oct 25 06:46:22 UTC 1999


> Guys,
> 
> What is the signifigance of having a "forward only;" directive in the 
> /etc/named.conf file?
> 
> options {
>         forwarders { x.x.x.x; };
>         forward only;
>  };
> 
> I would have the same functionality if I did this so why do people 
> recommend that 
> one include the "forward only;" dircective?
> 
> options {
>         directory "/usr/local/named";
>         forwarders { x.x.x.x; };
>  
> };

	Forward first; (default) uses the forwarders then falls back to
	the nameservers for the zone that it knows about.  Forward only
	does not fall back.

> 
> 2.  Also, when I look in /var/log/messages
> 
> Oct 23 21:48:48 demo11 named[851]: hint zone "" (IN) loaded (serial 
> 1999102300)
> Oct 23 21:48:48 demo11 named[851]: listening on [127.0.0.1].53 (lo)
> Oct 23 21:48:48 demo11 named[851]: listening on [192.168.1.1].53 (eth0)
> Oct 23 21:48:48 demo11 named[851]: Forwarding source address is 
> [0.0.0.0].1027
> Oct 23 21:48:48 demo11 named[852]: Ready to answer queries.
> 
> Why does it say my Forwardinf address is [0.0.0.0].1027

	Named uses this socket to send queries and receive the
	replies.  Unless told otherwise, via query-source, it lets
	the system pick a port for it.  0.0.0.0 indicates that
	the socket is not bound to a particular interface but is
	listening on all interfaces.
> 
> Oct 23 21:48:48 demo11 named[851]: Forwarding source address is 
> [0.0.0.0].1027
> 
> Thanks. Replies through e-mail would be greatly appreciated.
> 
> 
> 
	Mark
--
Mark Andrews, Internet Software Consortium
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742                 INTERNET: marka at isc.org


More information about the bind-users mailing list