Discussion:
My domain name name not propagating through the Internet.
Thomas Strike
2018-05-26 16:44:58 UTC
Permalink
I have been fighting a problem of setting up a new Bind9.9 primary
authoritative server on the Internet for over 2 weeks now. My hosted
secondary server cannot be set up until my primary server comes alive on
the Internet. I have fought my domain name provider for over 2 weeks
trying to get my new server propagated throwout the Internet and they
say that the problem is with my server. This is very perplexing because
there are at least 4 DNS servers out there that see my server and
respond to all queries successfully that land on my server but no other
server can see mine. It's hard to believe that the problem is on my end.

I am here asking for fresh sets of eyes to look at my setup file and the
domain zone record that is at issue. My domain is sleepyvalley.net and
my primary dns server is ns1.sleepyvalley.net. Standard A records that
should resolve are www., ftp., and mail.sleepyvalley.net.

------------------------------------------------------------------------------------------------------------------

_named.conf:_

acl trusted-servers  {
    144.x.x.x.;     // ns1.sleepyvalley.net
    8..x.x.x;       // sdns1.ovh.ca
};

options {
    listen-on port 53 { any; };
    listen-on-v6 port 53 { any; };

// I have IPv6 implemented on my server but could it be an IPv6 issue?

    allow-query { any; };

    recursion yes;
    allow-recursion {
        any;
        };
    allow-transfer {
        trusted-servers;
        };

    directory     "/var/named";
    dump-file     "/var/log/named/data/cache_dump.db";
    statistics-file "/var/log/named/data/named_stats.txt";
    memstatistics-file "/var/log/named/data/named_mem_stats.txt";

    notify yes;

// I am not familiar with what dnssec does. Is it necessary for a
primary DNS server to run properly?

    dnssec-enable yes;
    dnssec-validation yes;
    dnssec-lookaside auto;

// Could this be a security key management issue?

    bindkeys-file "/etc/named.iscdlv.key";
    managed-keys-directory "/var/named/dynamic";

    pid-file "/run/named/named.pid";
    session-keyfile "/run/named/session.key";
};include "/etc/named.logging";

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

include "/etc/named.rfc1912.zones";
include "/etc/named.root.key";

zone "sleepyvalley.net" {
    type master;
    file "/var/named/sleepyvalley.net.hosts";
    allow-transfer { trusted-servers; };
    };
key rndc-key {
    algorithm hmac-md5;
    secret "xxxxxxxxxxxxxxxxxxxxxxxx";
    };
controls {
    inet 127.0.0.1 port 953 allow { 127.0.0.1; } keys { rndc-key; };
    };
--------------------------------------------------------------------------------------------------------------------------------------

_sleepyvalley.net.hosts:_

_/__/ I am a little confused about the Time-To-Live in this record.
_

_// Which of these 2 ttls do resolvers use to cache their answers for?_

$ttl 38400
sleepyvalley.net.    IN    SOA    ns1.sleepyvalley.net.
administrator.sleepyvalley.net. (
            1526060969
            1H
            3600
            5M
            300 )    // short 5 min. ttl for testing.
sleepyvalley.net.    IN    A    144.x.x.x.x
mail.sleepyvalley.net.    IN    MX    10 mail.sleepyvalley.net.
mail.sleepyvalley.net.    IN    A    144.x.x.x.x
www.sleepyvalley.net. IN    A    144.x.x.x.x
ftp.sleepyvalley.net. IN    A    144.x.x.x.x
ns1.sleepyvalley.net.    IN    A    144.x.x.x.x
sleepyvalley.net.        IN    NS    ns1.sleepyvalley.net. // Primary
DNS service
sleepyvalley.net.        IN    NS    sdns1.ovh.ca.            //
Secondary externally hosted DNS service.
----------------------------------------------------------------------------------------------------------------------------------------

Any insights would be gratefully appreciated. Thanks in advance.
Rick Dicaire
2018-05-26 16:57:26 UTC
Permalink
Hi Thomas, obfuscating IP addresses doesn't help in the least.
ns1.sleepyvalley.net cannot be resolved, nor can we query it directly due
to that.

Did you register the nameserver ns1.sleepyvalley.net with your domain
registrar?
Post by Thomas Strike
I have been fighting a problem of setting up a new Bind9.9 primary
authoritative server on the Internet for over 2 weeks now. My hosted
secondary server cannot be set up until my primary server comes alive on
the Internet. I have fought my domain name provider for over 2 weeks trying
to get my new server propagated throwout the Internet and they say that the
problem is with my server. This is very perplexing because there are at
least 4 DNS servers out there that see my server and respond to all queries
successfully that land on my server but no other server can see mine. It's
hard to believe that the problem is on my end.
I am here asking for fresh sets of eyes to look at my setup file and the
domain zone record that is at issue. My domain is sleepyvalley.net and my
primary dns server is ns1.sleepyvalley.net. Standard A records that
should resolve are www., ftp., and mail.sleepyvalley.net.
------------------------------------------------------------
------------------------------------------------------
*named.conf:*
acl trusted-servers {
144.x.x.x.; // ns1.sleepyvalley.net
8..x.x.x; // sdns1.ovh.ca
};
options {
listen-on port 53 { any; };
listen-on-v6 port 53 { any; };
// I have IPv6 implemented on my server but could it be an IPv6 issue?
allow-query { any; };
recursion yes;
allow-recursion {
any;
};
allow-transfer {
trusted-servers;
};
directory "/var/named";
dump-file "/var/log/named/data/cache_dump.db";
statistics-file "/var/log/named/data/named_stats.txt";
memstatistics-file "/var/log/named/data/named_mem_stats.txt";
notify yes;
// I am not familiar with what dnssec does. Is it necessary for a primary
DNS server to run properly?
dnssec-enable yes;
dnssec-validation yes;
dnssec-lookaside auto;
// Could this be a security key management issue?
bindkeys-file "/etc/named.iscdlv.key";
managed-keys-directory "/var/named/dynamic";
pid-file "/run/named/named.pid";
session-keyfile "/run/named/session.key";
};include "/etc/named.logging";
zone "." IN {
type hint;
file "named.ca";
};
include "/etc/named.rfc1912.zones";
include "/etc/named.root.key";
zone "sleepyvalley.net" {
type master;
file "/var/named/sleepyvalley.net.hosts";
allow-transfer { trusted-servers; };
};
key rndc-key {
algorithm hmac-md5;
secret "xxxxxxxxxxxxxxxxxxxxxxxx";
};
controls {
inet 127.0.0.1 port 953 allow { 127.0.0.1; } keys { rndc-key; };
};
------------------------------------------------------------
--------------------------------------------------------------------------
*sleepyvalley.net.hosts:*
*/*
*/ I am a little confused about the Time-To-Live in this record. *
*// Which of these 2 ttls do resolvers use to cache their answers for?*
$ttl 38400
sleepyvalley.net. IN SOA ns1.sleepyvalley.net.
administrator.sleepyvalley.net. (
1526060969
1H
3600
5M
300 ) // short 5 min. ttl for testing.
sleepyvalley.net. IN A 144.x.x.x.x
mail.sleepyvalley.net. IN MX 10 mail.sleepyvalley.net.
mail.sleepyvalley.net. IN A 144.x.x.x.x
www.sleepyvalley.net. IN A 144.x.x.x.x
ftp.sleepyvalley.net. IN A 144.x.x.x.x
ns1.sleepyvalley.net. IN A 144.x.x.x.x
sleepyvalley.net. IN NS ns1.sleepyvalley.net. // Primary DNS
service
sleepyvalley.net. IN NS sdns1.ovh.ca. //
Secondary externally hosted DNS service.
------------------------------------------------------------
------------------------------------------------------------
----------------
Any insights would be gratefully appreciated. Thanks in advance.
_______________________________________________
Please visit https://lists.isc.org/mailman/listinfo/bind-users to
unsubscribe from this list
bind-users mailing list
https://lists.isc.org/mailman/listinfo/bind-users
Stephane Bortzmeyer
2018-05-26 17:30:04 UTC
Permalink
On Sat, May 26, 2018 at 12:57:26PM -0400,
Post by Rick Dicaire
Hi Thomas, obfuscating IP addresses doesn't help in the least.
No problem, the IP address is known by the TLD name servers.

% dig @a.gtld-servers.net ns1.sleepyvalley.net

; <<>> DiG 9.10.3-P4-Ubuntu <<>> @a.gtld-servers.net ns1.sleepyvalley.net
; (2 servers found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 7002
;; flags: qr rd; QUERY: 1, ANSWER: 0, AUTHORITY: 6, ADDITIONAL: 2
;; WARNING: recursion requested but not available

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags: do; udp: 4096
;; QUESTION SECTION:
;ns1.sleepyvalley.net. IN A

;; AUTHORITY SECTION:
sleepyvalley.net. 172800 IN NS ns1.sleepyvalley.net.
sleepyvalley.net. 172800 IN NS sdsn1.ovh.ca.
A1RT98BS5QGC9NFI51S9HCI47ULJG6JH.net. 86400 IN NSEC3 1 1 0 - (
A1RUUFFJKCT2Q54P78F8EJGJ8JBK7I8B
NS SOA RRSIG DNSKEY NSEC3PARAM )
A1RT98BS5QGC9NFI51S9HCI47ULJG6JH.net. 86400 IN RRSIG NSEC3 8 2 86400 (
20180601052514 20180525041514 30812 net.
UbyYTfhQEVnqxs/X/3YWMdIoJHvLff73ynCbpZYePLS3
VseyX5n3BnqnN/hDN0cSY4pAJDvCyQevLqJHgvmNmSOu
Ui/LEDk2VONcA3vasQFvZQqQ5ionYgW89PsMidpLQu64
8iTxtsyf1Qt6Od3k7HjvyxjKqTK9KRxqxaNElBY= )
F50OCLS1S87A8L3FHE4F8HCJ2F89BEFB.net. 86400 IN NSEC3 1 1 0 - (
F512EGD4GNCDQUF9K4HK06SSV0IVTUG1
NS DS RRSIG )
F50OCLS1S87A8L3FHE4F8HCJ2F89BEFB.net. 86400 IN RRSIG NSEC3 8 2 86400 (
20180531052256 20180524041256 30812 net.
PhiHi/4ZZbRwekU25IF0F7pE3FQXqyq2Rmn2ADoieaPB
sTOC367zIfyl72A39oKqSIvikJtCzwjsF9E/6Nwkm2Yv
alxBpeOcs7akuQCh1KFM+7JKz2rc3M5/mNeR9FwYSdZN
C8ro3SiAAeoWPkaKSUBNqXh+TKNWPZbYw8JhA0w= )

;; ADDITIONAL SECTION:
ns1.sleepyvalley.net. 172800 IN A 144.217.11.151

;; Query time: 294 msec
;; SERVER: 192.5.6.30#53(192.5.6.30)
;; WHEN: Sat May 26 17:29:30 GMT 2018
;; MSG SIZE rcvd: 590
Post by Rick Dicaire
Did you register the nameserver ns1.sleepyvalley.net with your domain
registrar?
Yes, he did. See above.
_______________________________________________
Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe from this list

bind-users mailing list
bind-***@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users
Dennis Clarke
2018-05-26 16:58:03 UTC
Permalink
I have been fighting a problem of setting up a new Bind9.9 primary...
If I dig for your name server via google I get told not much :


$ dig ns1.sleepyvalley.net @8.8.8.8

; <<>> DiG 9.9.4-RedHat-9.9.4-51.el7_4.2 <<>> ns1.sleepyvalley.net @8.8.8.8
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 3448
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 512
;; QUESTION SECTION:
;ns1.sleepyvalley.net. IN A

;; Query time: 3172 msec
;; SERVER: 8.8.8.8#53(8.8.8.8)
;; WHEN: Sat May 26 17:53:24 BST 2018
;; MSG SIZE rcvd: 49


Are you sure the name server is registered ?


$ dig ns1.sleepyvalley.net @my_primary_dns_ip +trace

.
.
.

dig: couldn't get address for 'ns1.sleepyvalley.net': no more


Looks like no such dns server exists.


Dennis

_______________________________________________
Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe from this list

bind-users mailing list
bind-***@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users
Stephane Bortzmeyer
2018-05-26 17:27:31 UTC
Permalink
On Sat, May 26, 2018 at 11:44:58AM -0500,
they say that the problem is with my server.
They were right.
I am here asking for fresh sets of eyes to look at my setup file and the
domain zone record that is at issue. My domain is sleepyvalley.net and my
primary dns server is ns1.sleepyvalley.net.
This server does not reply over UDP, only TCP.

% dig @144.217.11.151 NS sleepyvalley.net
; <<>> DiG 9.10.3-P4-Debian <<>> @144.217.11.151 NS sleepyvalley.net
; (1 server found)
;; global options: +cmd
;; connection timed out; no servers could be reached


% dig +tcp @144.217.11.151 NS sleepyvalley.net


; <<>> DiG 9.10.3-P4-Debian <<>> +tcp @144.217.11.151 NS sleepyvalley.net
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 49349
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 2

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags: do; udp: 4096
;; QUESTION SECTION:
;sleepyvalley.net. IN NS

;; ANSWER SECTION:
sleepyvalley.net. 38400 IN NS sdns1.ovh.ca.
sleepyvalley.net. 38400 IN NS ns1.sleepyvalley.net.

;; ADDITIONAL SECTION:
ns1.sleepyvalley.net. 38400 IN A 144.217.11.151

;; Query time: 93 msec
;; SERVER: 144.217.11.151#53(144.217.11.151)
;; WHEN: Sat May 26 19:26:36 CEST 2018
;; MSG SIZE rcvd: 105
_______________________________________________
Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe from this list

bind-users mailing list
bind-***@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users
Mark Andrews
2018-05-27 03:40:38 UTC
Permalink
Also the nameserver sdns1.ovh.ca in the delegation is miss-spelt as sdsn1.ovh.ca (n and s reversed).

[rock:~/git/bind9] marka% dig sleepyvalley.net @a.gtld-servers.net

; <<>> DiG 9.13.0-dev+hotspot+add-prefetch+marka <<>> sleepyvalley.net @a.gtld-servers.net
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 46849
;; flags: qr rd; QUERY: 1, ANSWER: 0, AUTHORITY: 2, ADDITIONAL: 2
;; WARNING: recursion requested but not available

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
;; QUESTION SECTION:
;sleepyvalley.net. IN A

;; AUTHORITY SECTION:
sleepyvalley.net. 172800 IN NS ns1.sleepyvalley.net.
sleepyvalley.net. 172800 IN NS sdsn1.ovh.ca.

;; ADDITIONAL SECTION:
ns1.sleepyvalley.net. 172800 IN A 144.217.11.151

;; Query time: 307 msec
;; SERVER: 2001:503:a83e::2:30#53(2001:503:a83e::2:30)
;; WHEN: Sun May 27 13:25:52 AEST 2018
;; MSG SIZE rcvd: 105

[rock:~/git/bind9] marka%
Post by Stephane Bortzmeyer
On Sat, May 26, 2018 at 11:44:58AM -0500,
they say that the problem is with my server.
They were right.
I am here asking for fresh sets of eyes to look at my setup file and the
domain zone record that is at issue. My domain is sleepyvalley.net and my
primary dns server is ns1.sleepyvalley.net.
This server does not reply over UDP, only TCP.
; (1 server found)
;; global options: +cmd
;; connection timed out; no servers could be reached
; (1 server found)
;; global options: +cmd
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 49349
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 2
; EDNS: version: 0, flags: do; udp: 4096
;sleepyvalley.net. IN NS
sleepyvalley.net. 38400 IN NS sdns1.ovh.ca.
sleepyvalley.net. 38400 IN NS ns1.sleepyvalley.net.
ns1.sleepyvalley.net. 38400 IN A 144.217.11.151
;; Query time: 93 msec
;; SERVER: 144.217.11.151#53(144.217.11.151)
;; WHEN: Sat May 26 19:26:36 CEST 2018
;; MSG SIZE rcvd: 105
_______________________________________________
Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe from this list
bind-users mailing list
https://lists.isc.org/mailman/listinfo/bind-users
--
Mark Andrews, ISC
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742 INTERNET: ***@isc.org

_______________________________________________
Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe from this list

bind-users mailing list
bind-***@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users
Continue reading on narkive:
Loading...