Unable to query the nameserver
Dotan Cohen
dotancohen at gmail.com
Tue Oct 5 18:35:24 UTC 2010
On Tue, Oct 5, 2010 at 02:35, Noel Butler <noel.butler at ausics.net> wrote:
> Quite right, too many people with paranoia come here looking for help but
> refuse to let us do correct remote testing.
> First post was 7.08am local, its 3 /12 hours later and we still have no real
> info, had it been supplied his problem may been identified and resolved 3
> hours ago.
>
No paranoia at all! Actually, just a few minutes ago I did post the
corrent info, I saw that I wasn't getting very far with this whole
learning thing! :)
The two domains names are sharingcenter.eu and sharingcenter.de. The
eu domain has ns1 and ns2 on the same server (IP addresses
178.63.65.136 and 178.63.65.188) and works fine. The de domain has ns1
on this same server (IP address 178.63.65.171) but ns2 on a different
server (IP address 88.198.21.168).
The 178.63.65.* machine has these files:
On the machine intended for
[root at mercury ~]# cat /etc/named.conf
options {
directory "/etc";
pid-file "/var/run/named/named.pid";
listen-on {
any;
};
};
zone "." {
type hint;
file "/etc/db.cache";
};
zone "sharingcenter.de" {
type master;
file "/var/named/sharingcenter.de.hosts";
notify yes;
allow-query { any; };
};
zone "sharingcenter.eu" {
type master;
file "/var/named/sharingcenter.eu.hosts";
};
[root at mercury ~]# cat /var/named/sharingcenter.de.hosts
$ORIGIN sharingcenter.de.
$TTL 86400
sharingcenter.de. IN SOA sharingcenter.de. foo.sharingcenter.de. (
2010100401; Serial - increment me
10800
3600
604800
38400 )
IN NS ns1.sharingcenter.de.
IN NS ns2.sharingcenter.de.
IN A 178.63.65.171
www IN A 178.63.65.171
ns1 IN A 178.63.65.171
ns2 IN A 88.198.21.168
[root at mercury ~]# cat /var/named/sharingcenter.eu.hosts
$ORIGIN sharingcenter.eu.
$TTL 86400
sharingcenter.eu. IN SOA sharingcenter.eu. foo.sharingcenter.eu. (
2010092801; Serial - increment me
10800
3600
604800
38400 )
IN NS ns1.sharingcenter.eu.
IN NS ns2.sharingcenter.eu.
IN A 178.63.65.136
IN A 178.63.65.188
www IN A 178.63.65.136
www IN A 178.63.65.188
ns1 IN A 178.63.65.136
ns2 IN A 178.63.65.188
[root at mercury ~]#
The 88.198.21.168 machine has these files:
[root at venus ~]# cat /etc/named.conf
options {
directory "/etc";
pid-file "/var/run/named/named.pid";
listen-on {
any;
};
};
zone "." {
type hint;
file "/etc/db.cache";
};
zone "sharingcenter.de" {
type slave;
masters { 178.63.65.171; };
allow-update { 178.63.65.171; };
file "/var/named/sharingcenter.de.hosts";
notify yes;
allow-query { any; };
allow-notify { 88.198.21.168; };
};
[root at venus ~]# cat /var/named/sharingcenter.de.hosts
$ORIGIN sharingcenter.de.
$TTL 86400
sharingcenter.de. IN SOA sharingcenter.de. foo.sharingcenter.de. (
2010100401; Serial - increment me
10800
3600
604800
38400 )
IN NS ns2.sharingcenter.de.
ns2 IN A 88.198.21.168
[root at venus ~]#
--
Dotan Cohen
http://gibberish.co.il
http://what-is-what.com
More information about the bind-users
mailing list