LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Problem with DNS on CentOS cannot service named restart (https://www.linuxquestions.org/questions/linux-newbie-8/problem-with-dns-on-centos-cannot-service-named-restart-771372/)

dalvis 11-24-2009 11:13 PM

Problem with DNS on CentOS cannot service named restart
 
Greetings,

I am trying to setup Four name servers on 2 different machines linux CentOS 5.3 the server named starts when I boot-up but if I give "service named restart command" it fails to start I shall highly appreciate if someone shall have a look at those codes and let me know what I am doing wrong the config files named.conf, addr.arpa and zone file is as follow
I have changed the IP addresses and domain names besides extension :-

include "/etc/rndc.key";

controls {
inet 127.0.0.1 allow { 127.0.0.1; } keys { "rndckey"; };
inet 192.168.1.12 allow { 192.168.1.0/24; } keys { "rndckey"; };
};

//port 53
options {
directory "/var/named"; // Working directory
allow-query { any; }; // This is the default
recursion no; // Do not provide recursive service
};

logging {
/* If you want to enable debugging, eg. using the 'rndc trace' command,
* named will try to write the 'named.run' file in the $directory (/var/named).
* By default, SELinux policy does not allow named to modify the /var/named directory,
* so put the default debug log file in data/ :
*/
channel default_debug {
file "data/named.run";
severity dynamic;
};
};


acl internal {
127.0.0.1/8;
192.168.1.0/24;
};

acl external { Stathic IP address of this server; };

view "internals" {
match-clients { any; };
match-destinations { any; };
allow-query { any; };
allow-transfer { any; };
recursion yes;
forwarders { 192.168.1.10; 192.168.1.11; 192.168.1.12; 192.168.1.13; 192.168.1.14; 192.168.1.15; 192.168.1.16;};


zone "." IN {
type hint;
file "/var/named/named.root";
};

zone "localdomain." IN {
type master;
file "/var/named/localdomain.zone";
allow-update { none; };
};

zone "localhost." IN {
type master;
file "/var/named/localhost.zone";
allow-update { none; };
};

zone "0.0.127.in-addr.arpa." IN {
type master;
file "/var/named/db.127.0.0";
allow-update { none; };
};

zone "0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.ip6.arpa." IN {
type master;
file "/var/named/named.ip6.local";
allow-update { none; };
};

zone "255.in-addr.arpa." IN {
type master;
file "/var/named/named.broadcast";
allow-update { none; };
};

zone "0.in-addr.arpa." IN {
type master;
file "/var/named/named.zero";
allow-update { none; };
};


zone "example1.in."{
type master;
file "/var/named/internals/db.example1.in";

};

zone "example2.net."{
type master;
file "/var/named/internals/db.example2.net";

};

zone "example3.net."{
type master;
file "/var/named/internals/db.example3.net";
};

zone "example4.in."{
type master;
file "/var/named/internals/db.example4.in";
};


zone "168.192.in-addr.arpa." {
type master;
notify no;
file "/var/named/internals/db.192.168";
allow-transfer { 192.168.1.10; 192.168.1.11; 192.168.1.12;};
};

};

view "external" {
match-clients { any; };
match-destinations { any; };
allow-transfer { 59.181.121.151; };
recursion no;

zone "." IN {
type hint;
file "/var/named/named.root";
};

zone "57.83.in-addr.arpa." {
type master;
file "/var/named/externals/db.57.83";
};

zone example1.in."{
type master;
file "/var/named/internals/db.example1.in";
allow-update { none; };
allow-transfer { Ip of slave DNS server; };

};

zone "example2.net."{
type master;
file "/var/named/internals/db.example2.net";
allow-update { none; };
allow-transfer { Ip of slave DNS server; };
};

zone "example3.net."{
type slave;
file "/var/named/externals/db.example3.net";
masters { Ip of master DNS server; };
};

zone "example4.in."{
type slave;
file "/var/named/externals/db.example4.in";
masters { Ip of master DNS server; };
};

};

Internal Zone are as follows
$TTL 86400
dalvis.in. IN SOA ns2.example4.in. supports.example4.in. (
1
86400
7200
2592000
86400 ; Default TTL
)

NS localhost.
NS ns2.example4.in.


External zone are as follows :-

$TTL 86400
@ SOA ns2.example4.in. root.example4.in.(
1
86400
7200
2592000
345600
)
NS localhost.
NS ns2.example4.in.
example4.in. IN A Ip of web host server
example4.in. IN MX 0 example4.in.
example4.in. IN MX 5 mail.example4.in.
example4.in. IN MX 10 smtp.example4.in.
mail IN A Ip of master web host server
ftp IN A Ip of master web host server
www IN A Ip of master web host server
webmail IN A Ip of master web host server
3dsecure IN A Ip of master web host server
imap IN A Ip of master web host server
mail IN A Ip of master web host server
smtp IN A Ip of master web host server


-------------------
addr.arpa external
db.57.83
------------------

$TTL 86400
57.83.in-addr.arpa. SOA ns1.example1.in. supports.example1.in (
2
86400
7200
2592000
345600
)
NS localhost.
NS ns1.example1.in.
13.162 PTR ns2.example3.in.
13.162 PTR ns2.example4.in.
13.162 PTR ns1.example2.net.
13.162 PTR ns1.example1.in.
12.179 PTR ns1.example3.net.
12.179 PTR ns1.example4.in.
12.179 PTR ns2.example2.net.
12.179 PTR ns2.example1.in.

13.162 IN PTR example1.in.
13.162 IN PTR www.example1.in.
13.162 IN PTR ftp.example1.in.
13.162 IN PTR 3dsecure.example1.in.
13.162 IN PTR smtp.example1.in.
13.162 IN PTR mail.example1.in.
13.162 IN PTR webmail.example1.in.
13.162 IN PTR imap.example1.in.
13.162 IN PTR example2.net.
13.162 IN PTR www.example2.net.
13.162 IN PTR ftp.example2.net.
13.162 IN PTR 3dsecure.example2.net.
13.162 IN PTR smtp.example2.net.
13.162 IN PTR mail.example2.net.
13.162 IN PTR webmail.example2.net.
13.162 IN PTR imap.example2.net.


12.179 IN PTR example3.net.
12.179 IN PTR www.example3.net.
12.179 IN PTR ftp.example3.net.
12.179 IN PTR 3dsecure.example3.net.
12.179 IN PTR webmail.example3.net.
12.179 IN PTR imap.example3.net.
12.179 IN PTR mail.example3.net.
12.179 IN PTR smtp.example3.net.
12.179 IN PTR dPanel.example3.net.
12.179 IN PTR webhosting.example3.net.

12.179 IN PTR example4.in.
12.179 IN PTR www.example4.in.
12.179 IN PTR ftp.example4.in.
12.179 IN PTR 3dsecure.example4.in.
12.179 IN PTR webmail.example4.in.
12.179 IN PTR imap.example4.in.
12.179 IN PTR mail.example4.in.
12.179 IN PTR smtp.example4.in.

---------------
Internal addr.arpa
db.192.168
---------------
$TTL 86400
@ SOA localhost. root.localhost. (
1
86400
7200
2592000
86400
)
NS localhost.
10.1 IN PTR ns1.example1.in.
10.1 IN PTR ns1.example2.net.
10.1 IN PTR ns2.example3.net.
10.1 IN PTR ns2.example4.in.
12.1 IN PTR example2.net.
12.1 IN PTR dPanel.example2.net.
12.1 IN PTR www.example2.net.
12.1 IN PTR ftp.example2.net.
14.1 IN PTR mail.example2.net.
15.1 IN PTR smtp.example2.net.
15.1 IN PTR imap.example2.net.

12.1 IN PTR example1.in.
12.1 IN PTR dPanel.example1.in.
12.1 IN PTR www.example1.in.
12.1 IN PTR ftp.example1.in.
14.1 IN PTR mail.example1.in.
15.1 IN PTR smtp.example1.in.
15.1 IN PTR imap.example1.in.

---------------
Error Log
---------------

Nov 24 10:31:57 localhost named[2199]: zone example3.net/IN/external: refresh: retry limit for master 57.83.12.179#53 exceeded (source 0.0.0.0#0)
Nov 24 10:31:57 localhost named[2199]: zone example3.net/IN/external: Transfer started.
Nov 24 10:35:06 localhost named[2199]: transfer of 'example3.net/IN' from 57.83.12.179#53: failed to connect: timed out
Nov 24 10:35:06 localhost named[2199]: transfer of 'example3.net/IN' from 57.83.12.179#53: end of transfer
Nov 24 11:02:18 localhost named[2199]: zone example4.in/IN/external: refresh: retry limit for master 57.83.12.179#53 exceeded (source 0.0.0.0#0)
Nov 24 11:02:18 localhost named[2199]: zone example4.in/IN/external: Transfer started.
Nov 24 11:05:27 localhost named[2199]: transfer of 'example4.in/IN' from 57.83.12.179#53: failed to connect: timed out
Nov 24 11:05:27 localhost named[2199]: transfer of 'example4.in/IN' from 57.83.12.179#53: end of transfer
Nov 24 11:24:05 localhost named[2199]: FORMERR resolving 'crawl-66-249-67-50.googlebot.com/AAAA/IN': 192.168.1.11#53
Nov 24 11:24:05 localhost named[2199]: FORMERR resolving 'crawl-66-249-67-50.googlebot.com/AAAA/IN': 192.168.1.16#53

Thanking you with best regards.

Tariq Dalvi

bathory 11-25-2009 02:03 AM

Hi,

How exactly are you planning to setup 4 name servers in 2 boxes?
The logs you've posted tell nothing for the "failed to restart" problem. The only thing I see in these logs, is that your dns cannot contact master for updates.
You should post the logs when named (re)starts to see why it is failing

Regards

dalvis 11-25-2009 10:33 AM

Greetings,

Thank you for having a look at my post, I have planned to setup two slave and two masters on each box the slave on one box shall be master to other but at present all four name servers shall be slave to the original name server till propagation is completed then I shall switch them as above.

I am inserting error codes while reboot and when I use named reload
---------------------------------------------
Reboot of system loged the folloing in named
---------------------------------------------
Nov 25 11:50:36 localhost kernel: Brought up 1 CPUs
Nov 25 11:50:36 localhost kernel: checking if image is initramfs... it is
Nov 25 11:50:36 localhost kernel: Freeing initrd memory: 3159k freed
Nov 25 11:50:36 localhost kernel: NET: Registered protocol family 16
Nov 25 11:50:36 localhost kernel: ACPI: bus type pci registered
Nov 25 11:50:36 localhost kernel: PCI: BIOS Bug: MCFG area at e0000000 is not E820-reserved
Nov 25 11:50:36 localhost kernel: PCI: Not using MMCONFIG.
Nov 25 11:50:36 localhost kernel: PCI: PCI BIOS revision 3.00 entry at 0xf0031, last bus=4
Nov 25 11:50:36 localhost kernel: PCI: Using configuration type 1
Nov 25 11:50:36 localhost kernel: Setting up standard PCI resources
Nov 25 11:50:36 localhost kernel: ACPI: Interpreter enabled
Nov 25 11:50:36 localhost kernel: ACPI: Using IOAPIC for interrupt routing
Nov 25 11:50:36 localhost kernel: ACPI: No dock devices found.
Nov 25 11:50:36 localhost kernel: ACPI: PCI Root Bridge [PCI0] (0000:00)
Nov 25 11:50:36 localhost kernel: PCI: Transparent bridge - 0000:00:04.0
Nov 25 11:50:36 localhost kernel: ACPI: PCI Interrupt Link [LNKA] (IRQs 16 17 18 19) *0, disabled.
Nov 25 11:50:36 localhost kernel: ACPI: PCI Interrupt Link [LNKB] (IRQs 16 17 18 19) *0, disabled.
Nov 25 11:50:36 localhost kernel: ACPI: PCI Interrupt Link [LNKC] (IRQs 16 17 18 19) *10
Nov 25 11:50:36 localhost kernel: ACPI: PCI Interrupt Link [LNKD] (IRQs 16 17 18 19) *0, disabled.
Nov 25 11:50:36 localhost kernel: ACPI: PCI Interrupt Link [LNEA] (IRQs 16 17 18 19) *0, disabled.
Nov 25 11:50:36 localhost kernel: ACPI: PCI Interrupt Link [LNEB] (IRQs 16 17 18 19) *0, disabled.
Nov 25 11:50:36 localhost kernel: ACPI: PCI Interrupt Link [LNEC] (IRQs 16 17 18 19) *0, disabled.
Nov 25 11:50:36 localhost kernel: ACPI: PCI Interrupt Link [LNED] (IRQs 16 17 18 19) *0, disabled.
Nov 25 11:50:36 localhost kernel: ACPI: PCI Interrupt Link [LUB0] (IRQs 20 21 22 23) *5
Nov 25 11:50:36 localhost kernel: ACPI: PCI Interrupt Link [LUB2] (IRQs 20 21 22 23) *10
Nov 25 11:50:36 localhost kernel: ACPI: PCI Interrupt Link [LMAC] (IRQs 20 21 22 23) *5
Nov 25 11:50:36 localhost kernel: ACPI: PCI Interrupt Link [LAZA] (IRQs 20 21 22 23) *11
Nov 25 11:50:36 localhost kernel: ACPI: PCI Interrupt Link [LACI] (IRQs 20 21 22 23) *0, disabled.
Nov 25 11:50:36 localhost kernel: ACPI: PCI Interrupt Link [LMC9] (IRQs 20 21 22 23) *10
Nov 25 11:50:36 localhost kernel: ACPI: PCI Interrupt Link [LSMB] (IRQs 20 21 22 23) *11
Nov 25 11:50:36 localhost kernel: ACPI: PCI Interrupt Link [LPMU] (IRQs 20 21 22 23) *0, disabled.
Nov 25 11:50:36 localhost kernel: ACPI: PCI Interrupt Link [LSA0] (IRQs 20 21 22 23) *10
Nov 25 11:50:36 localhost kernel: ACPI: PCI Interrupt Link [LSA1] (IRQs 20 21 22 23) *0, disabled.
Nov 25 11:50:36 localhost kernel: ACPI: PCI Interrupt Link [LATA] (IRQs 20 21 22 23) *0, disabled.
Nov 25 11:50:36 localhost kernel: Linux Plug and Play Support v0.97 (c) Adam Belay
Nov 25 11:50:36 localhost kernel: pnp: PnP ACPI init
Nov 25 11:50:36 localhost kernel: pnp: PnP ACPI: found 16 devices
Nov 25 11:50:36 localhost kernel: usbcore: registered new driver usbfs
Nov 25 11:50:36 localhost kernel: usbcore: registered new driver hub
Nov 25 11:50:36 localhost kernel: PCI: Using ACPI for IRQ routing
Nov 25 11:50:36 localhost kernel: PCI: If a device doesn't work, try "pci=routeirq". If it helps, post a report
Nov 25 11:50:36 localhost kernel: NetLabel: Initializing
Nov 25 11:50:36 localhost kernel: NetLabel: domain hash size = 128
Nov 25 11:50:36 localhost kernel: NetLabel: protocols = UNLABELED CIPSOv4
Nov 25 11:50:36 localhost kernel: NetLabel: unlabeled traffic allowed by default
Nov 25 11:50:36 localhost kernel: pnp: 00:0d: ioport range 0xa00-0xadf has been reserved
Nov 25 11:50:36 localhost kernel: pnp: 00:0d: ioport range 0xae0-0xaef has been reserved
Nov 25 11:50:36 localhost kernel: PCI: Bridge: 0000:00:04.0
Nov 25 11:50:36 localhost kernel: IO window: e000-0000
Nov 25 11:50:36 localhost kernel: MEM window: dff00000-00000000
Nov 25 11:50:36 localhost kernel: PREFETCH window: disabled.
Nov 25 11:50:36 localhost kernel: PCI: Bridge: 0000:00:09.0
Nov 25 11:50:36 localhost kernel: IO window: disabled.
Nov 25 11:50:36 localhost kernel: MEM window: disabled.
Nov 25 11:50:36 localhost kernel: PREFETCH window: disabled.
Nov 25 11:50:36 localhost kernel: PCI: Bridge: 0000:00:0b.0
Nov 25 11:50:36 localhost kernel: IO window: disabled.
Nov 25 11:50:36 localhost kernel: MEM window: disabled.
Nov 25 11:50:36 localhost kernel: PREFETCH window: disabled.
Nov 25 11:50:36 localhost kernel: PCI: Bridge: 0000:00:0c.0
Nov 25 11:50:36 localhost kernel: IO window: disabled.
Nov 25 11:50:36 localhost kernel: MEM window: disabled.
Nov 25 11:50:36 localhost kernel: PREFETCH window: disabled.
Nov 25 11:50:37 localhost named[2201]: starting BIND 9.3.6-P1-RedHat-9.3.6-4.P1.el5 -u named -D -t /var/named/chroot
Nov 25 11:50:37 localhost named[2201]: adjusted limit on open files from 1024 to 1048576
Nov 25 11:50:37 localhost named[2201]: found 1 CPU, using 1 worker thread
Nov 25 11:50:37 localhost named[2201]: using up to 4096 sockets
Nov 25 11:50:37 localhost named[2201]: loading configuration from '/etc/named.conf'
Nov 25 11:50:37 localhost named[2201]: using default UDP/IPv4 port range: [1024, 65535]
Nov 25 11:50:37 localhost named[2201]: using default UDP/IPv6 port range: [1024, 65535]
Nov 25 11:50:37 localhost named[2201]: listening on IPv4 interface lo, 127.0.0.1#53
Nov 25 11:50:37 localhost named[2201]: listening on IPv4 interface eth0, 192.168.1.10#53
Nov 25 11:50:37 localhost named[2201]: listening on IPv4 interface eth0:0, 192.168.1.12#53
Nov 25 11:50:37 localhost named[2201]: command channel listening on 127.0.0.1#953
Nov 25 11:50:37 localhost named[2201]: command channel listening on 192.168.1.12#953
Nov 25 11:50:37 localhost named[2201]: zone 0.in-addr.arpa/IN/internals: loaded serial 42
Nov 25 11:50:37 localhost named[2201]: zone 168.192.in-addr.arpa/IN/internals: loaded serial 5
Nov 25 11:50:37 localhost named[2201]: zone 255.in-addr.arpa/IN/internals: loaded serial 42
Nov 25 11:50:37 localhost named[2201]: zone 0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.ip6.arpa/IN/internals: loaded serial 1997022700
Nov 25 11:50:37 localhost named[2201]: zone example4.in/IN/internals: loaded serial 5
Nov 25 11:50:37 localhost named[2201]: zone example1.in/IN/internals: loaded serial 5
Nov 25 11:50:37 localhost named[2201]: zone localdomain/IN/internals: loaded serial 42
Nov 25 11:50:37 localhost named[2201]: zone localhost/IN/internals: loaded serial 42
Nov 25 11:50:37 localhost named[2201]: zone example3.net/IN/internals: loaded serial 5
Nov 25 11:50:37 localhost named[2201]: /var/named/internals/db.example2.net:16: ignoring out-of-zone data (.)
Nov 25 11:50:37 localhost named[2201]: zone example2.net/IN/internals: loaded serial 5
Nov 25 11:50:37 localhost named[2201]: zone 83.57.in-addr.arpa/IN/external: loaded serial 5
Nov 25 11:50:37 localhost kernel: hub 1-0:1.0: USB hub found
Nov 25 11:50:37 localhost kernel: hub 1-0:1.0: 8 ports detected
Nov 25 11:50:37 localhost kernel: ACPI: PCI Interrupt Link [LUB0] enabled at IRQ 22
Nov 25 11:50:37 localhost named[2201]: zone example4.in/IN/external: loaded serial 5
Nov 25 11:50:37 localhost named[2201]: zone example1.in/IN/external: loaded serial 5
Nov 25 11:50:37 localhost named[2201]: zone example3.net/IN/external: loaded serial 5
Nov 25 11:50:37 localhost named[2201]: zone example2.net/IN/external: loaded serial 5
Nov 25 11:50:37 localhost named[2201]: dbus_mgr initialization failed. D-BUS service is disabled.

--------------------------
After service named reload
--------------------------
Nov 25 17:20:45 localhost named[2198]: loading configuration from '/etc/named.conf'
Nov 25 17:20:45 localhost named[2198]: using default UDP/IPv4 port range: [1024, 65535]
Nov 25 17:20:45 localhost named[2198]: using default UDP/IPv6 port range: [1024, 65535]
Nov 25 17:20:45 localhost named[2198]: listening on IPv4 interface eth0, 192.168.1.10#53
Nov 25 17:20:45 localhost named[2198]: no longer listening on 192.168.1.14#53
Nov 25 17:20:45 localhost named[2198]: no longer listening on 192.168.1.15#53
Nov 25 17:21:54 unitedinfotechs scim-bridge: The lockfile is destroied
Nov 25 17:21:54 unitedinfotechs scim-bridge: Cleanup, done. Exitting...
Nov 25 18:13:27 localhost named[2198]: listening on IPv4 interface eth0:0, 192.168.1.14#53
Nov 25 18:13:27 localhost named[2198]: listening on IPv4 interface eth0:0, 192.168.1.15#53
Nov 25 18:13:44 localhost named[2198]: zone example1.in/IN/external: refresh: could not set file modification time of '/var/named/externals/db.example1.in': permission denied
Nov 25 18:13:45 localhost named[2198]: zone example1.in/IN/external: refresh: could not set file modification time of '/var/named/externals/db.example1.in': permission denied
Nov 25 18:15:15 localhost named[2198]: zone example1.in/IN/external: refresh: retry limit for master 57.83.12.179#53 exceeded (source 0.0.0.0#0)
Nov 25 18:15:15 localhost named[2198]: zone example1.in/IN/external: Transfer started.
Nov 25 18:15:15 localhost named[2198]: transfer of 'example1.in/IN' from 57.83.12.179#53: failed to connect: connection refused
Nov 25 18:15:15 localhost named[2198]: transfer of 'example1.in/IN' from 57.83.12.179#53: end of transfer
Nov 25 18:20:30 localhost named[2198]: zone example2.net/IN/external: refresh: could not set file modification time of '/var/named/externals/db.example2.net': permission denied
Nov 25 18:20:31 localhost named[2198]: zone example2.net/IN/external: refresh: could not set file modification time of '/var/named/externals/db.example2.net': permission denied
Nov 25 18:22:01 localhost named[2198]: zone example2.net/IN/external: refresh: retry limit for master 57.83.12.179#53 exceeded (source 0.0.0.0#0)
Nov 25 18:22:01 localhost named[2198]: zone example2.net/IN/external: Transfer started.
Nov 25 18:22:01 localhost named[2198]: transfer of 'example2.net/IN' from 57.83.12.179#53: failed to connect: connection refused
Nov 25 18:22:01 localhost named[2198]: transfer of 'example2.net/IN' from 57.83.12.179#53: end of transfer
Nov 25 18:41:32 localhost named[2198]: zone example3.net/IN/external: serial number (1) received from master 174.129.224.248#53 < ours (6)
Nov 25 18:41:33 localhost named[2198]: zone example3.net/IN/external: serial number (1) received from master 174.143.93.179#53 < ours (6)
Nov 25 19:08:41 localhost named[2198]: zone example4.in/IN/external: serial number (1) received from master 174.129.224.248#53 < ours (6)
Nov 25 19:08:42 localhost named[2198]: zone example4.in/IN/external: serial number (1) received from master 174.143.93.179#53 < ours (6)
Nov 25 20:36:02 localhost named[2198]: zone example3.net/IN/external: serial number (1) received from master 174.129.224.248#53 < ours (6)
Nov 25 20:36:03 localhost named[2198]: zone example3.net/IN/external: serial number (1) received from master 174.143.93.179#53 < ours (6)
Nov 25 20:58:05 localhost named[2198]: zone example4.in/IN/external: serial number (1) received from master 174.129.224.248#53 < ours (6)
Nov 25 20:58:06 localhost named[2198]: zone example4.in/IN/external: serial number (1) received from master 174.143.93.179#53 < ours (6)

Best regards

bathory 11-25-2009 11:33 AM

Hi,

Quote:

Nov 25 18:13:45 localhost named[2198]: zone example1.in/IN/external: refresh: could not set file modification time of '/var/named/externals/db.example1.in': permission denied
Nov 25 18:15:15 localhost named[2198]: zone example1.in/IN/external: refresh: retry limit for master 57.83.12.179#53 exceeded (source 0.0.0.0#0)
I've never seen this kind of error, but looking at your startup options "starting BIND 9.3.6-P1-RedHat-9.3.6-4.P1.el5 -u named -D -t /var/named/chroot", I see you use the -D option. From manpage:
Quote:

-D
Enable dynamic management of the forwarding table with D-BUS messages. This option is required for Red Hat NetworkManager support. See doc/README.DBUS.
But D-Bus is disabled according to the last line of your startup logs.
If it isn't D-bus, it could be a permissions problem, like SELinux and such.

Regards

dalvis 11-25-2009 02:17 PM

Hello bathory,

I have enable dhcdbd for d-bus and created new rndc key chowm it root:named, when I run name start I start to get following error which looks more clear

Nov 26 01:23:15 localhost named[4413]: starting BIND 9.3.6-P1-RedHat-9.3.6-4.P1.el5 -u named -D -t /var/named/chroot
Nov 26 01:23:15 localhost named[4413]: adjusted limit on open files from 1024 to 1048576
Nov 26 01:23:15 localhost named[4413]: found 1 CPU, using 1 worker thread
Nov 26 01:23:15 localhost named[4413]: using up to 4096 sockets
Nov 26 01:23:15 localhost named[4413]: loading configuration from '/etc/named.conf'
Nov 26 01:23:15 localhost named[4413]: using default UDP/IPv4 port range: [1024, 65535]
Nov 26 01:23:15 localhost named[4413]: using default UDP/IPv6 port range: [1024, 65535]
Nov 26 01:23:15 localhost named[4413]: listening on IPv4 interface lo, 127.0.0.1#53
Nov 26 01:23:15 localhost named[4413]: listening on IPv4 interface eth0, 192.168.1.12#53
Nov 26 01:23:15 localhost named[4413]: listening on IPv4 interface eth0:0, 192.168.1.16#53
Nov 26 01:23:15 localhost named[4413]: listening on IPv4 interface eth0, 192.168.1.10#53
Nov 26 01:23:15 localhost named[4413]: command channel listening on 127.0.0.1#953
Nov 26 01:23:15 localhost named[4413]: command channel listening on 192.168.1.12#953
Nov 26 01:23:15 localhost named[4413]: zone 0.in-addr.arpa/IN/internal: loaded serial 42
Nov 26 01:23:15 localhost named[4413]: zone 0.0.127.in-addr.arpa/IN/internal: loaded serial 1
Nov 26 01:23:15 localhost named[4413]: zone 168.192.in-addr.arpa/IN/internal: loaded serial 6
Nov 26 01:23:15 localhost named[4413]: zone 255.in-addr.arpa/IN/internal: loaded serial 42
Nov 26 01:23:15 localhost named[4413]: zone 0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.ip6.arpa/IN/internal: loaded serial 1997022700
Nov 26 01:23:15 localhost named[4413]: zone example4.in/IN/internal: loaded serial 6
Nov 26 01:23:15 localhost named[4413]: zone example1.in/IN/internal: loaded serial 6
Nov 26 01:23:15 localhost named[4413]: zone localdomain/IN/internal: loaded serial 42
Nov 26 01:23:15 localhost named[4413]: zone localhost/IN/internal: loaded serial 42
Nov 26 01:23:15 localhost named[4413]: zone example3.net/IN/internal: loaded serial 6
Nov 26 01:23:15 localhost named[4413]: zone example2.net/IN/internal: loaded serial 6
Nov 26 01:23:15 localhost named[4413]: zone 83.57.in-addr.arpa/IN/external: loaded serial 6
Nov 26 01:23:15 localhost named[4413]: zone example4.in/IN/external: loaded serial 1
Nov 26 01:23:15 localhost named[4413]: zone example1.in/IN/external: loaded serial 6
Nov 26 01:23:15 localhost named[4413]: zone example3.net/IN/external: loaded serial 1
Nov 26 01:23:15 localhost named[4413]: zone example2.net/IN/external: loaded serial 6

best regards

bathory 11-25-2009 02:26 PM

What error?
I don't see any errors. It looks like every zone is loaded correctly.

dalvis 11-25-2009 03:12 PM

Yes it looks fine but the named show error in service configuration panel
as :-
rndc: connect failed: 127.0.0.1#953: connection refused named is stopped

best regards.

bathory 11-25-2009 04:10 PM

Yup, bind works fine. Regarding rndc I guess it's misconfigured.
Take a look here to see how to configure rndc

Regards


All times are GMT -5. The time now is 03:30 PM.