LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 08-07-2016, 07:49 AM   #1
mannyvelez83
LQ Newbie
 
Registered: Dec 2014
Posts: 6

Rep: Reputation: Disabled
connection timed out; trying next origin


Hello,

I am new to DNS and I was trying to create two internal DNS server. I set up named on both and configured a primary and secondary dns server as shown below:

dns01.nyc.aevtech.net

Code:
//
// named.conf
//
// Provided by Red Hat bind package to configure the ISC BIND named(8) DNS
// server as a caching only nameserver (as a localhost DNS resolver only).
//
// See /usr/share/doc/bind*/sample/ for example named configuration files.
//

acl "trusted" {

        10.10.10.0/24;    # Local Frontend Network
};

options {
	listen-on port 53 { 127.0.0.1; 10.10.10.2; };
#       listen-on-v6 port 53 { ::1; };
	directory 	"/var/named";
	dump-file 	"/var/named/data/cache_dump.db";
        statistics-file "/var/named/data/named_stats.txt";
        memstatistics-file "/var/named/data/named_mem_stats.txt";
	allow-query     { trusted; };
	allow-transfer  { 10.10.10.3; };
	recursion yes;
	
	dnssec-enable no;
        dnssec-validation no;
        dnssec-lookaside auto;
	
	/* Path to ISC DLV key */
	bindkeys-file "/etc/named.iscdlv.key";

	managed-keys-directory "/var/named/dynamic";
};

logging {
        channel default_debug {
                file "data/named.run";
                severity dynamic;
        };
};

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

include "/etc/named.rfc1912.zones";
include "/etc/named.root.key";
include "/etc/named/named.conf.local";
dns02.nyc.aevtech.net

Code:
//
// named.conf
//
// Provided by Red Hat bind package to configure the ISC BIND named(8) DNS
// server as a caching only nameserver (as a localhost DNS resolver only).
//
// See /usr/share/doc/bind*/sample/ for example named configuration files.
//

acl "trusted" {

        10.10.10.0/24;    # Local Frontend Network
};

options {
	listen-on port 53 { 127.0.0.1; 10.10.10.2; };
#	listen-on-v6 port 53 { ::1; };
	directory 	"/var/named";
	dump-file 	"/var/named/data/cache_dump.db";
        statistics-file "/var/named/data/named_stats.txt";
        memstatistics-file "/var/named/data/named_mem_stats.txt";
	allow-query     { trusted; };
	recursion yes;
	
	dnssec-enable no;
        dnssec-validation no;
        dnssec-lookaside auto;

	/* Path to ISC DLV key */
	bindkeys-file "/etc/named.iscdlv.key";

	managed-keys-directory "/var/named/dynamic";
};

logging {
        channel default_debug {
                file "data/named.run";
                severity dynamic;
        };
};

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

include "/etc/named.rfc1912.zones";
include "/etc/named.root.key";
include "/etc/named/named.conf.local";
When dns01.nyc.aevtech.net is running I can query hostnames with no problem:

Code:
[root@puppet01 files]# nslookup web01.nyc.aevtech.net
Server:		10.10.10.2
Address:	10.10.10.2#53

Name:	web01.nyc.aevtech.net
Address: 10.10.10.167
When I stop the named service on dns01.nyc.aevtech.net so it can fail over to dns02.nyc.aevtech.net I get the following:

Code:
[root@puppet01 files]# nslookup web01.nyc.aevtech.net
;; connection timed out; trying next origin
;; connection timed out; no servers could be reached
These are the logs when I started the service on both host:

dns01.nyc.aevtech.net

Code:
[root@dns01 mvelez]# tail -f /var/log/messages 
Aug  7 00:44:45 dns01 named[6632]: zone 1.0.0.127.in-addr.arpa/IN: loaded serial 0
Aug  7 00:44:45 dns01 named[6632]: zone 1.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: loaded serial 0
Aug  7 00:44:45 dns01 named[6632]: zone localhost.localdomain/IN: loaded serial 0
Aug  7 00:44:45 dns01 named[6632]: zone localhost/IN: loaded serial 0
Aug  7 00:44:45 dns01 named[6632]: /etc/named/zones/db.nyc.aevtech.net:1: no TTL specified; using SOA MINTTL instead
Aug  7 00:44:45 dns01 named[6632]: zone nyc.aevtech.net/IN: loaded serial 2016080300
Aug  7 00:44:45 dns01 named[6632]: managed-keys-zone ./IN: loaded serial 11
Aug  7 00:44:45 dns01 named[6632]: running
Aug  7 00:44:45 dns01 named[6632]: zone 10.10.in-addr.arpa/IN: sending notifies (serial 2016080300)
Aug  7 00:44:45 dns01 named[6632]: zone nyc.aevtech.net/IN: sending notifies (serial 2016080300)
dns02.nyc.aevtech.net

Code:
[root@dns02 mvelez]# tail -f /var/log/messages 
Aug  7 00:44:43 dns02 named[6054]: zone 10.10.in-addr.arpa/IN: loaded serial 2016080300
Aug  7 00:44:43 dns02 named[6054]: zone 1.0.0.127.in-addr.arpa/IN: loaded serial 0
Aug  7 00:44:43 dns02 named[6054]: zone 1.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: loaded serial 0
Aug  7 00:44:43 dns02 named[6054]: zone localhost.localdomain/IN: loaded serial 0
Aug  7 00:44:43 dns02 named[6054]: zone localhost/IN: loaded serial 0
Aug  7 00:44:43 dns02 named[6054]: zone nyc.aevtech.net/IN: loaded serial 2016080300
Aug  7 00:44:43 dns02 named[6054]: managed-keys-zone ./IN: loaded serial 11
Aug  7 00:44:43 dns02 named[6054]: running
Aug  7 00:44:43 dns02 named[6054]: zone nyc.aevtech.net/IN: sending notifies (serial 2016080300)
Aug  7 00:44:43 dns02 named[6054]: zone 10.10.in-addr.arpa/IN: sending notifies (serial 2016080300)
Is there any other information I can provide to better assist everyone in helping trouble shoot this? Let me know so I can provide it as soon as possible and thank you in advanced for any and all help!!
 
Old 08-09-2016, 03:53 PM   #2
nini09
Senior Member
 
Registered: Apr 2009
Posts: 1,839

Rep: Reputation: 160Reputation: 160
You can use 'rndc' command to toggle DNS logging.

rndc querylog: on or off logging
rndc status: display current status to check current logging status.
 
Old 08-09-2016, 04:30 PM   #3
mannyvelez83
LQ Newbie
 
Registered: Dec 2014
Posts: 6

Original Poster
Rep: Reputation: Disabled
Hello nini09,

I'm currently at work but as soon as I get in I will perform the task as stated and update as soon as possible.

Thank You
 
Old 08-11-2016, 01:04 AM   #4
mannyvelez83
LQ Newbie
 
Registered: Dec 2014
Posts: 6

Original Poster
Rep: Reputation: Disabled
Hello @nini09

I did the following as stated on both servers and this is what I got when I checked the status:

dns01

Quote:
version: 9.8.2rc1-RedHat-9.8.2-0.47.rc1.el6
CPUs found: 1
worker threads: 1
number of zones: 21
debug level: 0
xfers running: 0
xfers deferred: 0
soa queries in progress: 0
query logging is ON
recursive clients: 0/0/1000
tcp clients: 0/100
server is up and running
dns02

Quote:
version: 9.8.2rc1-RedHat-9.8.2-0.47.rc1.el6
CPUs found: 1
worker threads: 1
number of zones: 21
debug level: 0
xfers running: 0
xfers deferred: 0
soa queries in progress: 0
query logging is ON
recursive clients: 0/0/1000
tcp clients: 0/100
server is up and running
I checked the messages log in /var/log and see the following on both:

dns01:

Quote:
Aug 10 17:38:23 dns01 named[35351]: starting BIND 9.8.2rc1-RedHat-9.8.2-0.47.rc1.el6 -u named -4
Aug 10 17:38:23 dns01 named[35351]: built with '--build=x86_64-redhat-linux-gnu' '--host=x86_64-redhat-linux-gnu' '--target=x86_64-redhat-linux-gnu' '--program-prefix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--sysconfdir=/etc' '--datadir=/usr/share' '--includedir=/usr/include' '--libdir=/usr/lib64' '--libexecdir=/usr/libexec' '--sharedstatedir=/var/lib' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--with-libtool' '--localstatedir=/var' '--enable-threads' '--enable-ipv6' '--enable-filter-aaaa' '--with-pic' '--disable-static' '--disable-openssl-version-check' '--enable-rpz-nsip' '--enable-rpz-nsdname' '--with-dlopen=yes' '--with-dlz-ldap=yes' '--with-dlz-postgres=yes' '--with-dlz-mysql=yes' '--with-dlz-filesystem=yes' '--with-gssapi=yes' '--disable-isc-spnego' '--with-docbook-xsl=/usr/share/sgml/docbook/xsl-stylesheets' '--enable-fixed-rrset' 'build_alias=x86_64-redhat-linux-gnu' 'host_alias=x86_64-redhat-linux-gnu' 'target_alias=x86_64-redhat-linux-gnu' 'CFLAGS= -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic' 'CPPFLAGS= -DDIG_SIGCHASE'
Aug 10 17:38:23 dns01 named[35351]: ----------------------------------------------------
Aug 10 17:38:23 dns01 named[35351]: BIND 9 is maintained by Internet Systems Consortium,
Aug 10 17:38:23 dns01 named[35351]: Inc. (ISC), a non-profit 501(c)(3) public-benefit
Aug 10 17:38:23 dns01 named[35351]: corporation. Support and training for BIND 9 are
Aug 10 17:38:23 dns01 named[35351]: available at https://www.isc.org/support
Aug 10 17:38:23 dns01 named[35351]: ----------------------------------------------------
Aug 10 17:38:23 dns01 named[35351]: adjusted limit on open files from 4096 to 1048576
Aug 10 17:38:23 dns01 named[35351]: found 1 CPU, using 1 worker thread
Aug 10 17:38:23 dns01 named[35351]: using up to 4096 sockets
Aug 10 17:38:23 dns01 named[35351]: loading configuration from '/etc/named.conf'
Aug 10 17:38:23 dns01 named[35351]: reading built-in trusted keys from file '/etc/named.iscdlv.key'
Aug 10 17:38:23 dns01 named[35351]: using default UDP/IPv4 port range: [1024, 65535]
Aug 10 17:38:23 dns01 named[35351]: using default UDP/IPv6 port range: [1024, 65535]
Aug 10 17:38:23 dns01 named[35351]: no IPv6 interfaces found
Aug 10 17:38:23 dns01 named[35351]: listening on IPv4 interface lo, 127.0.0.1#53
Aug 10 17:38:23 dns01 named[35351]: listening on IPv4 interface eth0, 10.10.10.2#53
Aug 10 17:38:23 dns01 named[35351]: generating session key for dynamic DNS
Aug 10 17:38:23 dns01 named[35351]: sizing zone task pool based on 8 zones
Aug 10 17:38:23 dns01 named[35351]: using built-in DLV key for view _default
Aug 10 17:38:23 dns01 named[35351]: set up managed keys zone for view _default, file '/var/named/dynamic/managed-keys.bind'
Aug 10 17:38:23 dns01 named[35351]: Warning: 'empty-zones-enable/disable-empty-zone' not set: disabling RFC 1918 empty zones
Aug 10 17:38:23 dns01 named[35351]: automatic empty zone: 127.IN-ADDR.ARPA
Aug 10 17:38:23 dns01 named[35351]: automatic empty zone: 254.169.IN-ADDR.ARPA
Aug 10 17:38:23 dns01 named[35351]: automatic empty zone: 2.0.192.IN-ADDR.ARPA
Aug 10 17:38:23 dns01 named[35351]: automatic empty zone: 100.51.198.IN-ADDR.ARPA
Aug 10 17:38:23 dns01 named[35351]: automatic empty zone: 113.0.203.IN-ADDR.ARPA
Aug 10 17:38:23 dns01 named[35351]: automatic empty zone: 255.255.255.255.IN-ADDR.ARPA
Aug 10 17:38:23 dns01 named[35351]: automatic empty 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.0.IP6.ARPA
Aug 10 17:38:23 dns01 named[35351]: automatic empty zone: D.F.IP6.ARPA
Aug 10 17:38:23 dns01 named[35351]: automatic empty zone: 8.E.F.IP6.ARPA
Aug 10 17:38:23 dns01 named[35351]: automatic empty zone: 9.E.F.IP6.ARPA
Aug 10 17:38:23 dns01 named[35351]: automatic empty zone: A.E.F.IP6.ARPA
Aug 10 17:38:23 dns01 named[35351]: automatic empty zone: B.E.F.IP6.ARPA
Aug 10 17:38:23 dns01 named[35351]: automatic empty zone: 8.B.D.0.1.0.0.2.IP6.ARPA
Aug 10 17:38:23 dns01 named[35351]: command channel listening on 127.0.0.1#953
Aug 10 17:38:23 dns01 named[35351]: zone 0.in-addr.arpa/IN: loaded serial 0
Aug 10 17:38:23 dns01 named[35351]: /etc/named/zones/db.10.10:1: no TTL specified; using SOA MINTTL instead
Aug 10 17:38:23 dns01 named[35351]: zone 10.10.in-addr.arpa/IN: loaded serial 2016080300
Aug 10 17:38:23 dns01 named[35351]: zone 1.0.0.127.in-addr.arpa/IN: loaded serial 0
Aug 10 17:38:23 dns01 named[35351]: zone 1.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: loaded serial 0
Aug 10 17:38:23 dns01 named[35351]: zone localhost.localdomain/IN: loaded serial 0
Aug 10 17:38:23 dns01 named[35351]: zone localhost/IN: loaded serial 0
Aug 10 17:38:23 dns01 named[35351]: /etc/named/zones/db.nyc.aevtech.net:1: no TTL specified; using SOA MINTTL instead
Aug 10 17:38:23 dns01 named[35351]: zone nyc.aevtech.net/IN: loaded serial 2016080300
Aug 10 17:38:23 dns01 named[35351]: managed-keys-zone ./IN: loaded serial 21
Aug 10 17:38:23 dns01 named[35351]: running
Aug 10 17:38:23 dns01 named[35351]: zone 10.10.in-addr.arpa/IN: sending notifies (serial 2016080300)
Aug 10 17:38:23 dns01 named[35351]: zone nyc.aevtech.net/IN: sending notifies (serial 2016080300)
Aug 10 17:38:53 dns01 named[35351]: received control channel command 'querylog'
Aug 10 17:38:53 dns01 named[35351]: query logging is now on
Aug 10 17:39:15 dns01 named[35351]: client 10.10.10.1#56591: query: web01.nyc.aevtech.net IN A + (10.10.10.2)
Aug 10 17:39:21 dns01 named[35351]: client 10.10.10.1#45041: query: clients4.google.com IN A + (10.10.10.2)
Aug 10 17:39:45 dns01 named[35351]: client 10.10.10.2#53919: query: 1.10.10.10.in-addr.arpa IN PTR + (10.10.10.2)
Aug 10 17:40:33 dns01 named[35351]: client 10.10.10.1#33303: query: secure-nym.adnxs.com IN A + (10.10.10.2)
Aug 10 17:40:36 dns01 named[35351]: client 10.10.10.1#64891: query: pollserver.lastpass.com IN A + (10.10.10.2)
Aug 10 17:43:31 dns01 named[35351]: client 10.10.10.173#37557: query: puppet01.nyc.aevtech.net IN A + (10.10.10.2)
Aug 10 17:43:31 dns01 named[35351]: client 10.10.10.173#37557: query: puppet01.nyc.aevtech.net IN AAAA + (10.10.10.2)
Aug 10 17:43:41 dns01 named[35351]: client 10.10.10.1#3207: query: docs.google.com IN A + (10.10.10.2)
Aug 10 17:44:40 dns01 named[35351]: client 10.10.10.1#32493: query: stats-public.grammarly.io IN A + (10.10.10.2)
Aug 10 17:48:01 dns01 named[35351]: client 10.10.10.1#61695: query: ssl.gstatic.com IN A + (10.10.10.2)
Aug 10 17:49:19 dns01 named[35351]: client 10.10.10.171#52800: query: puppet01.nyc.aevtech.net IN A + (10.10.10.2)
Aug 10 17:49:19 dns01 named[35351]: client 10.10.10.171#52800: query: puppet01.nyc.aevtech.net IN AAAA + (10.10.10.2)
Aug 10 17:54:34 dns01 named[35351]: client 10.10.10.1#53482: query: clients4.google.com IN A + (10.10.10.2)
Aug 10 17:54:40 dns01 named[35351]: client 10.10.10.1#34670: query: stats-public.grammarly.io IN A + (10.10.10.2)
Aug 10 17:56:14 dns01 named[35351]: client 10.10.10.1#21909: query: googleads.g.doubleclick.net IN A + (10.10.10.2)
Aug 10 17:56:36 dns01 named[35351]: client 10.10.10.1#26926: query: pollserver.lastpass.com IN A + (10.10.10.2)
Aug 10 17:56:41 dns01 named[35351]: client 10.10.10.1#41483: query: www.googleapis.com IN A + (10.10.10.2)
Aug 10 17:57:07 dns01 named[35351]: client 10.10.10.1#56812: query: pd-st.itunes-apple.com.akadns.net IN A + (10.10.10.2)
Aug 10 17:57:13 dns01 named[35351]: client 10.10.10.1#37324: query: www.linuxquestions.org IN A + (10.10.10.2)
Aug 10 17:57:16 dns01 named[35351]: client 10.10.10.1#27399: query: gnar.grammarly.com IN A + (10.10.10.2)
Aug 10 17:57:17 dns01 named[35351]: client 10.10.10.1#43465: query: auth.grammarly.com IN A + (10.10.10.2)
Aug 10 17:57:17 dns01 named[35351]: client 10.10.10.1#60283: query: data.grammarly.com IN A + (10.10.10.2)
Aug 10 17:57:18 dns01 named[35351]: client 10.10.10.1#16381: query: capi.grammarly.com IN A + (10.10.10.2)
Aug 10 17:57:18 dns01 named[35351]: client 10.10.10.1#14266: query: felog.grammarly.io IN A + (10.10.10.2)
Aug 10 17:59:06 dns01 named[35351]: client 10.10.10.1#41739: query: ssl.gstatic.com IN A + (10.10.10.2)
Aug 10 18:00:03 dns01 named[35351]: client 10.10.10.1#40772: query: docs.google.com IN A + (10.10.10.2)
dns02

Quote:
Aug 10 17:38:23 dns02 named[34763]: starting BIND 9.8.2rc1-RedHat-9.8.2-0.47.rc1.el6 -u named -4
Aug 10 17:38:23 dns02 named[34763]: built with '--build=x86_64-redhat-linux-gnu' '--host=x86_64-redhat-linux-gnu' '--target=x86_64-redhat-linux-gnu' '--program-prefix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--sysconfdir=/etc' '--datadir=/usr/share' '--includedir=/usr/include' '--libdir=/usr/lib64' '--libexecdir=/usr/libexec' '--sharedstatedir=/var/lib' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--with-libtool' '--localstatedir=/var' '--enable-threads' '--enable-ipv6' '--enable-filter-aaaa' '--with-pic' '--disable-static' '--disable-openssl-version-check' '--enable-rpz-nsip' '--enable-rpz-nsdname' '--with-dlopen=yes' '--with-dlz-ldap=yes' '--with-dlz-postgres=yes' '--with-dlz-mysql=yes' '--with-dlz-filesystem=yes' '--with-gssapi=yes' '--disable-isc-spnego' '--with-docbook-xsl=/usr/share/sgml/docbook/xsl-stylesheets' '--enable-fixed-rrset' 'build_alias=x86_64-redhat-linux-gnu' 'host_alias=x86_64-redhat-linux-gnu' 'target_alias=x86_64-redhat-linux-gnu' 'CFLAGS= -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic' 'CPPFLAGS= -DDIG_SIGCHASE'
Aug 10 17:38:23 dns02 named[34763]: ----------------------------------------------------
Aug 10 17:38:23 dns02 named[34763]: BIND 9 is maintained by Internet Systems Consortium,
Aug 10 17:38:23 dns02 named[34763]: Inc. (ISC), a non-profit 501(c)(3) public-benefit
Aug 10 17:38:23 dns02 named[34763]: corporation. Support and training for BIND 9 are
Aug 10 17:38:23 dns02 named[34763]: available at https://www.isc.org/support
Aug 10 17:38:23 dns02 named[34763]: ----------------------------------------------------
Aug 10 17:38:23 dns02 named[34763]: adjusted limit on open files from 4096 to 1048576
Aug 10 17:38:23 dns02 named[34763]: found 1 CPU, using 1 worker thread
Aug 10 17:38:23 dns02 named[34763]: using up to 4096 sockets
Aug 10 17:38:23 dns02 named[34763]: loading configuration from '/etc/named.conf'
Aug 10 17:38:23 dns02 named[34763]: reading built-in trusted keys from file '/etc/named.iscdlv.key'
Aug 10 17:38:23 dns02 named[34763]: using default UDP/IPv4 port range: [1024, 65535]
Aug 10 17:38:23 dns02 named[34763]: using default UDP/IPv6 port range: [1024, 65535]
Aug 10 17:38:23 dns02 named[34763]: no IPv6 interfaces found
Aug 10 17:38:23 dns02 named[34763]: listening on IPv4 interface lo, 127.0.0.1#53
Aug 10 17:38:23 dns02 named[34763]: generating session key for dynamic DNS
Aug 10 17:38:23 dns02 named[34763]: sizing zone task pool based on 8 zones
Aug 10 17:38:23 dns02 named[34763]: using built-in DLV key for view _default
Aug 10 17:38:23 dns02 named[34763]: set up managed keys zone for view _default, file '/var/named/dynamic/managed-keys.bind'
Aug 10 17:38:23 dns02 named[34763]: Warning: 'empty-zones-enable/disable-empty-zone' not set: disabling RFC 1918 empty zones
Aug 10 17:38:23 dns02 named[34763]: automatic empty zone: 127.IN-ADDR.ARPA
Aug 10 17:38:23 dns02 named[34763]: automatic empty zone: 254.169.IN-ADDR.ARPA
Aug 10 17:38:23 dns02 named[34763]: automatic empty zone: 2.0.192.IN-ADDR.ARPA
Aug 10 17:38:23 dns02 named[34763]: automatic empty zone: 100.51.198.IN-ADDR.ARPA
Aug 10 17:38:23 dns02 named[34763]: automatic empty zone: 113.0.203.IN-ADDR.ARPA
Aug 10 17:38:23 dns02 named[34763]: automatic empty zone: 255.255.255.255.IN-ADDR.ARPA
Aug 10 17:38:23 dns02 named[34763]: automatic empty 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.0.IP6.ARPA
Aug 10 17:38:23 dns02 named[34763]: automatic empty zone: D.F.IP6.ARPA
Aug 10 17:38:23 dns02 named[34763]: automatic empty zone: 8.E.F.IP6.ARPA
Aug 10 17:38:23 dns02 named[34763]: automatic empty zone: 9.E.F.IP6.ARPA
Aug 10 17:38:23 dns02 named[34763]: automatic empty zone: A.E.F.IP6.ARPA
Aug 10 17:38:23 dns02 named[34763]: automatic empty zone: B.E.F.IP6.ARPA
Aug 10 17:38:23 dns02 named[34763]: automatic empty zone: 8.B.D.0.1.0.0.2.IP6.ARPA
Aug 10 17:38:23 dns02 named[34763]: command channel listening on 127.0.0.1#953
Aug 10 17:38:23 dns02 named[34763]: zone 0.in-addr.arpa/IN: loaded serial 0
Aug 10 17:38:23 dns02 named[34763]: zone 10.10.in-addr.arpa/IN: loaded serial 2016080300
Aug 10 17:38:23 dns02 named[34763]: zone 1.0.0.127.in-addr.arpa/IN: loaded serial 0
Aug 10 17:38:23 dns02 named[34763]: zone 1.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: loaded serial 0
Aug 10 17:38:23 dns02 named[34763]: zone localhost.localdomain/IN: loaded serial 0
Aug 10 17:38:23 dns02 named[34763]: zone localhost/IN: loaded serial 0
Aug 10 17:38:23 dns02 named[34763]: zone nyc.aevtech.net/IN: loaded serial 2016080300
Aug 10 17:38:23 dns02 named[34763]: managed-keys-zone ./IN: loaded serial 21
Aug 10 17:38:23 dns02 named[34763]: running
Aug 10 17:38:23 dns02 named[34763]: zone 10.10.in-addr.arpa/IN: sending notifies (serial 2016080300)
Aug 10 17:38:23 dns02 named[34763]: zone nyc.aevtech.net/IN: sending notifies (serial 2016080300)
Aug 10 17:38:53 dns02 named[34763]: received control channel command 'querylog'
Aug 10 17:38:53 dns02 named[34763]: query logging is now on
I turned off the named on dns01 as you can see:

Quote:
Aug 10 18:01:05 dns01 named[35351]: received control channel command 'stop'
Aug 10 18:01:05 dns01 named[35351]: shutting down: flushing changes
Aug 10 18:01:05 dns01 named[35351]: stopping command channel on 127.0.0.1#953
Aug 10 18:01:05 dns01 named[35351]: no longer listening on 127.0.0.1#53
Aug 10 18:01:05 dns01 named[35351]: no longer listening on 10.10.10.2#53
Aug 10 18:01:05 dns01 named[35351]: exiting
But nothing happens on dns02 and the DNS stops working. Once I turn on named on dns01 again everything is fine. DNS02 should be kicking in but it's not.
 
Old 08-11-2016, 03:43 PM   #5
nini09
Senior Member
 
Registered: Apr 2009
Posts: 1,839

Rep: Reputation: 160Reputation: 160
What's your Linux distribution? It look like configuration of secondary DNS is wrong. It never listen on eth0.
 
Old 08-11-2016, 06:34 PM   #6
mannyvelez83
LQ Newbie
 
Registered: Dec 2014
Posts: 6

Original Poster
Rep: Reputation: Disabled
Hello,

I'm using CentOS 6.7

I tried to set it up like I had it before which worked but I'm not sure what I missed or how to correct this.

Anything else I can look into on fixing this?

Thank You!
 
Old 08-12-2016, 03:46 PM   #7
nini09
Senior Member
 
Registered: Apr 2009
Posts: 1,839

Rep: Reputation: 160Reputation: 160
First both DNS has to have different IP address. On primary, it should allow transfer to second and so on.
Following link is a example.
http://xmodulo.com/secondary-dns-server-centos.html
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Error log: upstream timed out (110: Connection timed out) on Nginx nikaway Linux - Server 1 09-30-2015 03:43 PM
[Postfix/smtp] 25 connection refused / connection timed out wewanwang Linux - Server 2 12-22-2014 02:14 AM
[SOLVED] USB: Connection timed out SYS: Connection timed out PeterUK Programming 3 07-18-2013 03:59 AM
ssh: connection to host port: 22: Connection timed out lost connection cucolin@ Linux - Server 4 11-22-2011 07:15 AM
sendmail - Connection timed out [dsn=4.0.0 stat=Deferred: Connection timed out] ananthak Linux - Software 0 04-24-2007 08:28 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 03:22 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration