Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
named and two simple questions [one solved]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
Mroofka
Guru
Guru


Joined: 25 Jan 2005
Posts: 369
Location: Poland

PostPosted: Sat Oct 27, 2007 5:15 pm    Post subject: named and two simple questions [one solved] Reply with quote

Hi

I have two problems with this dns daemon. Usually I'm using different one so I'm really confused.
How to force named to listen only o one ip address instead of all available on all interfaces?
Is there any chance to log authoritative answers of this daemon? I need ip's of hosts which ask about zones which are defined in my named.

Thanks in advance
Pozdrawiam
Mroofka
_________________
"Make install not love"
registred linux User # 379143

"Ready for Anything; Prepared for everything; Surprised by Nothing !"


Last edited by Mroofka on Sat Oct 27, 2007 8:49 pm; edited 1 time in total
Back to top
View user's profile Send private message
loopx
Advocate
Advocate


Joined: 01 Apr 2005
Posts: 2787
Location: Belgium / Liège

PostPosted: Sat Oct 27, 2007 7:15 pm    Post subject: Reply with quote

have a look at this:

Code:

serveur loopx # cat /etc/bind/named.conf
options {
        directory "/etc/bind/config";

        version "SECRET";

        forward first;

        forwarders {
                 193.74.208.135;
                 193.121.171.135;
                 194.119.228.67;
                 193.74.208.65;
        };

        listen-on { 127.0.0.1; 10.2.1.0/26; 10.2.1.128/26; };

        allow-query { 127.0.0.1; 10.2.1.0/26; 10.2.1.128/26; 10.59.13.0/24; };
        allow-recursion { 127.0.0.1; 10.2.1.0/26; 10.2.1.128/26; 10.59.13.0/24; };

        pid-file "/var/run/named/named.pid";

        auth-nxdomain no;
};

...
...


listen-on = all network directly connected to on or more interface (here: 2 interface + localhost)
_________________
Mon MediaWiki perso : http://pix-mania.dyndns.org
Back to top
View user's profile Send private message
Mroofka
Guru
Guru


Joined: 25 Jan 2005
Posts: 369
Location: Poland

PostPosted: Sat Oct 27, 2007 8:49 pm    Post subject: Reply with quote

loopx
Code:
listen-on
works great. That's it :).

Second problem still unsolved

Pozdrawiam
Mroofka
_________________
"Make install not love"
registred linux User # 379143

"Ready for Anything; Prepared for everything; Surprised by Nothing !"
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum