Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 06 Jan 2003 23:20:53 +0100
From:      "Wiroth Didier" <didier.wiroth@mcesr.etat.lu>
To:        freebsd-questions@freebsd.org
Subject:   how to make bind listen only to 127.0.0.1
Message-ID:  <web-701099@mcesr.etat.lu>

next in thread | raw e-mail | index | archive | help
Hey,
I would like to run bind as a caching only server (v 8.3.3
from 4.7-release). I would also like that it only listens
on port 127.0.0.1, but how? I tried this entry in
named.conf, but it didn't work:
query-source address 127.0.0.1 port 53;

It still listens on the real ip address?
sockstat -4 shows:
root     named      296   20 udp4   192.168.0.2:53
                        
root     named      296   21 tcp4   192.168.0.2:53
       root     named      296   22 udp4   127.0.0.1:53
         

What do I have to change so it named only listens to
127.0.0.1?

Thanks a lot
Didier

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?web-701099>