DNS resolves on local server but does not resolve from anywhere else
Simon Atack
S.Atack-97 at student.lboro.ac.uk
Fri Jan 21 12:40:34 UTC 2000
I recently registered 3 domain names flix.org.uk atackscomputers.co.uk and
madcornishprojectionist.co.uk currently hosted on 194.74.221.78 and
194.74.221.79
When I use nslookup to check the server by choosing either 194.74.221.78
or 194.74.221.79 and do a look up on anything in the domains that it is
hosting things work fine. BUT if i then change the server to any other eg
herno.cyberware.co.uk and try to do a lookup on anything in my domains it
sits there for a long while 10-40 seconds and comes up with "Server
failed" or i get "No response from the server" seems to depend where i
check it from
The entries for my domain at ns1.nic.uk are correctly pointing to my
machine. I have even tried it with the second dns entry listed as the dns
server of my registrar (they set it up and were meant to have transfered
the domain detail across), but it had the same problem
Can anyone help?
I have read the linux documentation projects HOWTO set up dns and FAQs but
still cannot resolve the problem. I have included the configuration files
for my named (named.conf) and each of the files for the domains
Thanks
Simon Atack
-- Attached file included as plaintext by Listar --
-- File: named.conf
/* sample configuration file for BIND 8.1 or later
* should be installed as /etc/named.conf
*
* Author: Florian La Roche
*/
#
# overall options of the server
#
options {
directory "/var/named";
# the default is to fail, if the master file is not correct
check-names master warn;
pid-file "/var/run/named.pid";
auth-nxdomain yes;
datasize default;
stacksize default;
coresize default;
files unlimited;
recursion yes;
multiple-cnames no; // if yes, then a name my have more
// than one CNAME RR. This use
// is non-standard and is not
// recommended, but it is available
// because previous releases supported
// it and it was used by large sites
// for load balancing.
# the default is to ask the forwarders and if they fail
# try to find the answer yourself, this will only ask the forwarders
#forward only;
# list of DNS servers to ask
#forwarders {
# 192.168.0.10;
# 192.168.0.20;
# 192.168.0.30;
#};
# the default is to listen on port 53 on all available interfaces
# you can also give a detailed list:
#listen-on { 5.6.7.8; };
#listen-on port 1234 { !1.2.3.4; 1.2/16; };
};
#
# do not be verbose about these problems...
#
#logging {
# category lame-servers { null; };
# category cname { null; };
#};
logging {
channel elsa1 {
file "/var/named/named.errors.elsa1";
print-time yes;
print-category yes;
print-severity yes;
severity debug 50;
};
channel dump1 {
file "/var/named/named.dump.elsa1";
print-time yes;
print-category yes;
print-severity yes;
severity debug 50;
};
category default { elsa1; default_syslog; default_debug; };
category queries { elsa1; default_syslog; default_debug; };
category statistics { elsa1; default_syslog; default_debug; };
category xfer-out { elsa1; default_syslog; default_debug; };
category packet { dump1; };
category response-checks { elsa1; };
};
#
# predefined access control lists (acl):
# "any" allows all hosts
# "none" denies all hosts
# "localhost" allows the IP adresses of all interfaces of the system
# "localnets" allows any host on a network of the local interfaces
#
# defining an additional ACL:
#acl can_download { 192.168.0.17; 192.168.0.18; };
#
# The server statement defines the characteristics to be associated with
# a remote name server.
#
# Marking a server as bogus will prevent queries to that server.
#server 192.168.0.128 { bogus yes; }
# If the other name server has also BIND 8.1 or newer installed, you
# can allow compacter zone transfers with this statement.
#server 192.168.0.128 { transfer-format many-answers; }
zone "." IN {
type hint;
file "root.hint";
};
zone "localhost" IN {
type master;
file "localhost.zone";
check-names fail;
allow-update { none; };
};
zone "0.0.127.in-addr.arpa" IN {
type master;
file "127.0.0.zone";
check-names fail;
allow-update { none; };
};
#
# a master zone
#
#zone "isc.org" IN {
# type master;
# file "isc.org";
# # by default, any host can receive zone transfers
# #allow-transfer { any; };
# notify yes;
#};
#
# a slave zone
#
#zone "isc.org" IN {
# type slave;
# file "slave/db.isc.org";
# masters { 192.168.0.128; };
#};
zone "flix.org.uk" {
type master; // what used to be called "primary"
file "flix.org.uk";
#allow-update { none; };
#allow-transfer { any; };
#allow-query { any; };
notify yes; // send NOTIFY messages for this
// zone? The global option is used
// if "notify" is not specified
// here.
#also-notify { }; // don't notify any nameservers other
// than those on the NS list for this
// zone
};
zone "atackscomputers.co.uk" {
type master; // what used to be called "primary"
file "/var/named/atackscomputers.co.uk";
check-names fail;
#allow-update { none; };
#allow-transfer { any; };
#allow-query { any; };
notify yes; // send NOTIFY messages for this
// zone? The global option is used
// if "notify" is not specified
// here.
#also-notify { }; // don't notify any nameservers other
// than those on the NS list for this
// zone
};
zone "madcornishprojectionist.co.uk" {
type master; // what used to be called "primary"
file "/var/named/madcornishprojectionist.co.uk";
check-names fail;
#allow-update { none; };
#allow-transfer { any; };
#allow-query { any; };
notify yes; // send NOTIFY messages for this
// zone? The global option is used
// if "notify" is not specified
// here.
#also-notify { }; // don't notify any nameservers other
// than those on the NS list for this
// zone
};
-- Attached file included as plaintext by Listar --
-- File: madcornishprojectionist.co.uk
@ 1D IN SOA dns.madcornishprojectionist.co.uk. root.madcornishprojectionist.co.uk. (
2000012101 ; serial, todays date + todays serial
2H ; refresh, seconds
1H ; retry, seconds
1D ; expire, seconds
1D ) ; minimum, seconds
1D IN NS 194.74.221.78.
1D IN NS 194.74.221.79.
1D IN MX 10 mail
dns 1D IN A 194.74.221.79
mail 1D IN A 194.74.221.79
www 1D IN A 194.74.221.79
ftp 1D IN A 194.74.221.79
localhost 1D IN A 127.0.0.1
-- Attached file included as plaintext by Listar --
-- File: flix.org.uk
@ 1D IN SOA dns.flix.org.uk. root.flix.org.uk. (
2000012101 ; serial, todays date + todays serial
2H ; refresh, seconds
1H ; retry, seconds
1D ; expire, seconds
1D ) ; minimum, seconds
1D IN NS 194.74.221.78.
1D IN NS 194.74.221.79.
1D IN MX 10 mail
dns 1D IN A 194.74.221.79
mail 1D IN A 194.74.221.79
rc5 1D IN A 194.74.221.79
www 1D IN A 194.74.221.79
news 1D IN A 194.74.221.79
ftp 1D IN A 194.74.221.79
mail-in 1D IN A 194.74.221.79
mail-out 1D IN A 194.74.221.79
Flix1 1D IN A 194.74.221.79
rc5proxy 1D IN A 194.74.221.79
localhost 1D IN A 127.0.0.1
nntp 1D IN A 194.74.221.79
https 1D IN A 194.74.221.79
wwwmail 1D IN A 194.74.221.79
-- Attached file included as plaintext by Listar --
-- File: atackscomputers.co.uk
@ 1D IN SOA dns.atackscomputers.co.uk. root.atackscomputers.co.uk. (
2000012101 ; serial, todays date + todays serial
2H ; refresh, seconds
1H ; retry, seconds
1D ; expire, seconds
1D ) ; minimum, seconds
1D IN NS 194.74.221.78.
1D IN NS 194.74.221.79.
1D IN MX 10 mail
dns 1D IN A 194.74.221.78
mail 1D IN A 194.74.221.78
rc5 1D IN A 194.74.221.78
www 1D IN A 194.74.221.78
news 1D IN A 194.74.221.78
ftp 1D IN A 194.74.221.78
mail-in 1D IN A 194.74.221.78
mail-out 1D IN A 194.74.221.78
wwwatack 1D IN A 194.74.221.78
rc5proxy 1D IN A 194.74.221.78
localhost 1D IN A 127.0.0.1
nntp 1D IN A 194.74.221.78
https 1D IN A 194.74.221.78
wwwmail 1D IN A 194.74.221.78
More information about the bind-users
mailing list