Edit your /etc/named.conf file and add the listen-on option to tell BIND
the interfaces you want it to listen to.  Something like:

options {
  listen-on { 192.168.1.1; };
};

Replace the address above with your eth0 address.  Don't add a second
options block, just add the listen-on line to the existing one.

-Alan

Vikash wrote:
> However I noticed in my /var/log/messages file that when I am online and
> named clears its cache, I can see that it is listening on ppp0, sl0 and
> eth0. I find this to be slightly uncomfortable. Named should be for local
> use ONLY and therefore listen ONLY on eth0. Is there a way to restrict it
> only to eth0, if so I think it would prevent any other situations causing
> diald to come up. This could also improve security.
> 
> Best Regards,
> Vikash.
> 
> At 00:31 14/10/99 , Alex H. Vandenham wrote:
> >One thing that worked for me was to add an entry to the hosts file (assuming
> >you use that) which lists the sl0 interface that diald uses to detect
> >traffic.
> >In my case I used a local and remote pair in diald.conf ;
> >
> >local 192.168.2.10
> >remote192.168.2.20
> >
> >so I added the local address to the hosts file;
> >
> ># bogus interface to keep named happy with diald
> >192.168.2.10    bogus.localdomain       bogus
> >
> >Also, to host.conf I added;
> >
> ># use hosts file before using nameserver lookups
> >order hosts bind
> >
> >That stopped named from trying to call a nameserver for a lookup for that
> >diald
> >address (reverse lookup?) and eliminated a lot of connect attempts (once every
> >15 minutes or so).  What I do not know (yet) is if this causes any other
> >problems.  It all appeared t owork OK. Perhaps someone can comment??
> >
> >alex
> >
> >
> >On Tue, 12 Oct 1999, Vikash wrote:
> > > Hello,
> > >
> > > I am having trouble in keeping diald under control when named is running.
> > >
> > > The link keeps coming up or stays up.
> > >
> > > Has anyone managed to keep them both happy?
> > >
> > > Please let me know.
> > >
> > > Thanks in advance.
> > >
> > > Regards,
> > > Vikash.
> > >
> > >
> > > -
> > > To unsubscribe from this list: send the line "unsubscribe linux-diald" in
> > > the body of a message to [EMAIL PROTECTED]
> >
> >
> >-
> >To unsubscribe from this list: send the line "unsubscribe linux-diald" in
> >the body of a message to [EMAIL PROTECTED]
> 
> -
> To unsubscribe from this list: send the line "unsubscribe linux-diald" in
> the body of a message to [EMAIL PROTECTED]

-
To unsubscribe from this list: send the line "unsubscribe linux-diald" in
the body of a message to [EMAIL PROTECTED]

Reply via email to