In bind 8.X.X, go edit the file named.conf (/etc/named.conf in RH), and go
to the options {}; section.

Put in the line:  listen-on {127.0.0.1; X.X.X.X;};

Then restart named (not reload). This should bind bind to a ip address.

I do recommend keeping localhost in (127.0.0.1).

-- 

The answer to the meaning of life:
perl -e 'print$i=pack(c5,(41*2),sqrt(7056),(unpack(c,H)-2),oct(115),10); '

On Tue, 20 Jun 2000, Dan Horth wrote:

> Date: Tue, 20 Jun 2000 12:44:17 +1000
> From: Dan Horth <[EMAIL PROTECTED]>
> Reply-To: [EMAIL PROTECTED]
> To: [EMAIL PROTECTED]
> Subject: how can I bind BIND to a specific IP address for notify?
> Resent-Date: 20 Jun 2000 03:03:29 -0000
> Resent-From: [EMAIL PROTECTED]
> Resent-cc: recipient list not shown: ;
> 
> excuse the pun - not really sure if this is necessary - but I want 
> all NOTIFY from my primary name server to appear as though it's 
> coming from the server's primary IP address (as in eth0) rather than 
> ppp0 which is currently happening.
> 
> the problem is that I'm seeing this in the secondary server's log files:
> 
> Jun 20 12:33:01 secserver named[520]: rcvd NOTIFY(domain.com.au, IN, 
> SOA) from [primary.name.server.ppp0.address].2079
> Jun 20 12:33:01 secserver named[520]: NOTIFY(SOA) from non-master 
> server (zone domain.com.au), from 
> [primary.name.server.ppp0.address].2079
> 
> as I have the secondary expecting the notify from:
> 
> primary.name.server.eth0.address
> 
> I can't just change them to expect NOTIFY from 
> primary.name.server.ppp0.address because I don't know for sure that 
> the ppp link will always be running off of the same box as our 
> primary DNS server.
> 
> am I mad or is there a way to change this? I have looked at man 
> named.conf but could only find reference to binding LISTEN to 
> specific ports.
> 
> TIA. dan.
> 
> 
> 


-- 
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.

Reply via email to