View previous topic :: View next topic |
Author |
Message |
Mroofka Guru
Joined: 25 Jan 2005 Posts: 369 Location: Poland
|
Posted: Sat Oct 27, 2007 5:15 pm Post subject: named and two simple questions [one solved] |
|
|
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 |
|
|
loopx Advocate
Joined: 01 Apr 2005 Posts: 2787 Location: Belgium / Liège
|
Posted: Sat Oct 27, 2007 7:15 pm Post subject: |
|
|
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 |
|
|
Mroofka Guru
Joined: 25 Jan 2005 Posts: 369 Location: Poland
|
Posted: Sat Oct 27, 2007 8:49 pm Post subject: |
|
|
loopx 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 |
|
|
|