Listen on

Steven B. Parsons sparsons at columbus.rr.com
Fri Nov 2 22:07:11 UTC 2001


options {
        directory "/etc/dns";
    listen-on { 10.10.10.10; };

Does it for me .

Steven B. Parsons

----- Original Message -----
From: <bind at col7.metta.lk>
To: <bind-users at isc.org>
Sent: Friday, November 02, 2001 10:26 AM
Subject: Listen on


>
> Hi all,
>
> I run named 8.2.2-P5 on my RH7.0
> I have a bit of problem with my dns
>
> I need to find the options available in bind,
> because I need to make bind listen on only one IP
>
> Is there an option something like this.
> interface-listen-only-on 172.16.1.2 (my lan card ip)
> What happens is that when a user is logged in
> the dns will reload the dns and listen on
>
> 172.16.1.2 my lan card
> 172.16.1.1 the ppp connetion.
>
> Nov  3 00:22:20 narada named[5845]: listening on [127.0.0.1].53 (lo)
> Nov  3 00:22:20 narada named[5845]: listening on [172.16.1.2].53 (eth0)
> Nov  3 00:22:20 narada named[5845]: listening on [172.16.1.1].53 (ppp0)
>
> I do not want it ever to listen on 172.16.1.1
>
> Thanks for your help
>
> Mettavihari
>
>
> Below is my named.conf
> -------------------------------------------------
> options {
> version "Not today!";
> pid-file  "/var/named/named.pid";
> directory "/var/named";
> // statistics-interval 0;
> interface-interval 5;
> forward only;
> forwarders {};
> };
>
> zone "." {
>         type hint;
>         file "root.hints";
> };
> zone "col7.metta.lk"{
>         type master;
>         file "pz/col7.metta.lk";
>         notify no;
> };
> zone "metta.lk"{
>         type master;
>         file "pz/metta.lk";
>         notify no;
> };
> zone "0.0.127.in-addr.arpa"{
>         type master;
>         file "pz/127.0.0";
> };
> zone "1.16.172.in-addr.arpa"{
>         type master;
>         file "pz/172.16.1";
>         notify no;
> };
>
> ------------------------------------------
> $TTL            86400 ; default time-to-live - 24 hours
> @ IN SOA narada.col7.metta.lk. metta at col7.metta.lk. (
> 2000080506 ; serial
> 86400 ; refresh
> 36000 ; retry
> 2592000 ; expire
> 86400 ; default_ttl
> )
> @ IN NS col7.metta.lk.
> @ IN MX 10 narada.col7.metta.lk.
> localhost IN A 127.0.0.1
> narada IN A 172.16.1.1
> narada IN A 172.16.1.2
> narada IN MX 10 narada.col7.metta.lk.
> narada IN HINFO "Pentium-I" "Linux RH7.0"
> dvf IN A 172.16.1.3
> metta04 IN A 172.16.1.4
> metta05 IN A 172.16.1.5
> metta06 IN A 172.16.1.6
> metta07 IN A 172.16.1.7
> harsha IN A 172.16.1.8
> metta09 IN A 172.16.1.9
> col7.metta.lk. IN A 172.16.1.2
> col7.metta.lk. IN A 172.16.1.1
> col7.metta.lk. IN MX 10 narada.col7.metta.lk.
>
> --------------------------------------------
> A saying of the Buddha from http://metta.lk/
> --------------------------------------------
> Whoever lives contemplating pleasant things, with senses unrestrained, in
food immoderate, indolent, inactive, him verily Mara overthrows, as the wind
(overthrows) a weak tree.
> Random Dhammapada Verse 7
>
>
>
>
>



More information about the bind-users mailing list