Hello,

Mon, 11 Aug 2008 15:03:28 +0400 Anatoly Pugachev wrote:

> ok, found error in my named.conf file:
> 
> if i use 
> 
>   listen-on { 192.168.1.1; 127.0.0.1; };
> 
> everything works as expected, and if only i use:
> 
>   listen-on { 192.168.1.1; localhost; };
> 
> named will start listening all available interfaces. Is this expected
> behaviour?

Yes. The "localhost" ACL is built-in and represents "the IPv4 and IPv6 
addresses of all network interfaces on the system".

May be it's time to suggest BIND developers to provide an additional 
built-in ACL "loopback":

acl loopback {
        127.0.0.1;
};


-- 

Yours sincerely,

Andrey G. Sergeev (AKA Andris)     http://www.andris.name/

Reply via email to