LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   named service (https://www.linuxquestions.org/questions/linux-networking-3/named-service-109395/)

pazvant 10-28-2003 04:05 AM

named service
 
hi i just want to listen my eth0 (local) interface for bind service.However when i create a domain name for local network
In NS 192.168.0.1 .... etc. tHe service starts to listen both eth0 and eth1 how can i stop this.Or it is something different because of this server is our gateway ???

chort 10-28-2003 05:22 AM

use the global option:
listen-on { 12.34.56.78; };

of course substitute your IP for 12.34.56.78. I don't think you can use an interface name as an argument to listen-on, but you could always try it and see if the named.conf will fail to parse :)

Robert0380 10-28-2003 11:45 AM

chort is right, and to check to see if named didnt like it, you can tail the message log:

tail /var/log/messages or if u want it to keep running tail -f /var/log/messages


All times are GMT -5. The time now is 04:50 PM.