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 ??? |
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 :) |
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. |