LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 10-28-2003, 04:05 AM   #1
pazvant
Member
 
Registered: Jul 2003
Location: Istanbul
Distribution: slack
Posts: 43

Rep: Reputation: 15
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 ???
 
Old 10-28-2003, 05:22 AM   #2
chort
Senior Member
 
Registered: Jul 2003
Location: Silicon Valley, USA
Distribution: OpenBSD 4.6, OS X 10.6.2, CentOS 4 & 5
Posts: 3,660

Rep: Reputation: 69
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
 
Old 10-28-2003, 11:45 AM   #3
Robert0380
Guru
 
Registered: Apr 2002
Location: Atlanta
Distribution: Gentoo
Posts: 1,280

Rep: Reputation: 47
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
NAMED Service Not Stopping dsschanze Linux - Networking 3 08-06-2007 05:03 AM
Named service won't start DanielTan Fedora - Installation 2 09-28-2005 12:54 PM
service named error "rndc: conenct failed: connection refused" Reu Linux - General 1 07-12-2004 01:34 PM
service named can't stop... TAAN Linux - Networking 1 09-11-2003 03:43 AM
why my named service stop after running a few minute? lzyking Linux - Software 4 06-24-2003 09:15 AM


All times are GMT -5. The time now is 12:49 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration