Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
named can't listen on UDP socket
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
SLBMEH
Apprentice
Apprentice


Joined: 16 Aug 2003
Posts: 299
Location: Pittsburgh, PA

PostPosted: Fri Oct 27, 2006 3:29 pm    Post subject: named can't listen on UDP socket Reply with quote

/etc/bind/named.conf:
Code:
options {
        directory "/var/dns";

        statistics-file "/var/dns/named.stats";
        dump-file "/var/dns/named.dump";
        zone-statistics yes;

        listen-on-v6 { none; };
        listen-on port 53 {
                127.0.0.1;
        };

        //query-source address * port 53;

        allow-recursion { 127.0.0.1; 10.0.0.0/8; 66.212.149.96/27; };
        //allow-transfer { 10.0.0.1; 10.0.0.254; };
        //notify yes;
        //also-notify { 10.1.0.254; 10.2.0.254; };
        pid-file "/var/run/named/named.pid";

        transfer-format many-answers;
};

//include "/var/named/conf/logs.conf";

//include "/var/named/conf/acl.conf";

zone "." IN {
        type hint;
        file "named.ca";
};

include "/var/named/conf/mydomain.conf";
include "/var/named/conf/greaterpitt.conf";


sudo -u named named -fg:
Code:
27-Oct-2006 11:20:12.582 starting BIND 9.3.2-P1 -fg
27-Oct-2006 11:20:12.587 loading configuration from '/etc/bind/named.conf'
27-Oct-2006 11:20:12.589 listening on IPv4 interface lo, 127.0.0.1#53
27-Oct-2006 11:20:12.590 could not listen on UDP socket: permission denied
27-Oct-2006 11:20:12.590 creating IPv4 interface lo failed; interface ignored
27-Oct-2006 11:20:12.590 not listening on any interfaces
27-Oct-2006 11:20:12.594 couldn't add command channel 127.0.0.1#953: permission denied
27-Oct-2006 11:20:12.594 ignoring config file logging statement due to -g option
27-Oct-2006 11:20:12.596 zone destinygameonline.com/IN: loaded serial 2006102701
27-Oct-2006 11:20:12.596 zone greaterpittsburghglass.com/IN: loading master file greaterpitt/greaterpittsburghglass.com: file not found
27-Oct-2006 11:20:12.597 zone mehltd.com/IN: loaded serial 2006102701
27-Oct-2006 11:20:12.598 running
27-Oct-2006 11:20:12.598 zone mehltd.com/IN: sending notifies (serial 2006102701)
27-Oct-2006 11:20:12.599 zone destinygameonline.com/IN: sending notifies (serial 2006102701)
27-Oct-2006 11:20:26.912 shutting down
27-Oct-2006 11:20:26.914 exiting


sudo -u root named -fg:
Code:
27-Oct-2006 11:27:54.529 starting BIND 9.3.2-P1 -fg
27-Oct-2006 11:27:54.533 loading configuration from '/etc/bind/named.conf'
27-Oct-2006 11:27:54.536 listening on IPv4 interface lo, 127.0.0.1#53
27-Oct-2006 11:27:54.540 command channel listening on 127.0.0.1#953
27-Oct-2006 11:27:54.540 ignoring config file logging statement due to -g option
27-Oct-2006 11:27:54.542 zone destinygameonline.com/IN: loaded serial 2006102701
27-Oct-2006 11:27:54.543 zone greaterpittsburghglass.com/IN: loading master file greaterpitt/greaterpittsburghglass.com: file not found
27-Oct-2006 11:27:54.544 zone mehltd.com/IN: loaded serial 2006102701
27-Oct-2006 11:27:54.545 running
27-Oct-2006 11:27:54.545 zone mehltd.com/IN: sending notifies (serial 2006102701)
27-Oct-2006 11:27:54.545 zone destinygameonline.com/IN: sending notifies (serial 2006102701)


My solution would be to switch to chroot bind... However that's not desired... So I am 99% stumped.
_________________
Steve - Semper Fi
Back to top
View user's profile Send private message
moocha
Watchman
Watchman


Joined: 21 Oct 2003
Posts: 5722

PostPosted: Fri Oct 27, 2006 5:59 pm    Post subject: Reply with quote

Hardened or grsec kernel, perchance?
_________________
Military Commissions Act of 2006: http://tinyurl.com/jrcto

"Those who would give up essential liberty to purchase a little temporary safety deserve neither liberty nor safety."
-- attributed to Benjamin Franklin
Back to top
View user's profile Send private message
SLBMEH
Apprentice
Apprentice


Joined: 16 Aug 2003
Posts: 299
Location: Pittsburgh, PA

PostPosted: Thu Nov 02, 2006 4:03 pm    Post subject: Reply with quote

no, gentoo-sources <2.6>
_________________
Steve - Semper Fi
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