domain names not resolving

Mark Andrews Mark_Andrews at isc.org
Wed Mar 21 10:43:27 UTC 2007


> Hi guys,
> 
> thanks for your help with this, hopefully we're getting somewhere. I 
> can't see any acls myself in the following files...
> 
>  cat /etc/named.caching-nameserver.conf
> //
> // named.caching-nameserver.conf
> //
> // Provided by Red Hat caching-nameserver 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.
> //
> // DO NOT EDIT THIS FILE - use system-config-bind or an editor
> // to create named.conf - edits to this file will be lost on
> // caching-nameserver package upgrade.
> //
> options {
> //      listen-on port 53 { 127.0.0.1; };
> //      listen-on port 53 { 207.228.252.47; };
> //      listen-on port 53 { 207.228.252.194; };
> //      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";
>         query-source    port 53;
>         query-source-v6 port 53;
> //      allow-query     { localhost; };
> };
> logging {
>         channel query-log {
>                 file "query-log" versions 3 size 1m;
>         };
>         category queries { query-log; };
> 
>         channel default_debug {
>                 file "data/named.run";
>                 severity dynamic;
>         };
> };
> view localhost_resolver {
>         match-clients      { localhost; };
>         match-destinations { localhost; };
>         recursion yes;
>         include "/etc/named.rfc1912.zones";
> };
> 

	Why are you using views?  Queries which don't match a view
	are refused.
> 
> 
>  cat /etc/named.rfc1912.zones
> // named.rfc1912.zones:
> //
> // Provided by Red Hat caching-nameserver package
> //
> // ISC BIND named zone configuration for zones recommended by
> // RFC 1912 section 4.1 : localhost TLDs and address zones
> //
> // See /usr/share/doc/bind*/sample/ for example named configuration files.
> //
> zone "." IN {
>         type hint;
>         file "named.ca";
> };
> 
> zone "localdomain" IN {
>         type master;
>         file "localdomain.zone";
>         allow-update { none; };
> };
> 
> zone "localhost" IN {
>         type master;
>         file "localhost.zone";
>         allow-update { none; };
> };
> 
> zone "0.0.127.in-addr.arpa" IN {
>         type master;
>         file "named.local";
>         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 "named.ip6.local";
>         allow-update { none; };
> };
> 
> zone "255.in-addr.arpa" IN {
>         type master;
>         file "named.broadcast";
>         allow-update { none; };
> };
> 
> zone "0.in-addr.arpa" IN {
>         type master;
>         file "named.zero";
>         allow-update { none; };
> };
> 
> zone "kirkyonline.com" {
>         type master;
>         file "kirkyonline.com";
> };
> 
> zone "toptipper.com" {
>         type master;
>         file "toptipper.com";
> };
> 
> zone "leaguetipping.com" {
>         type master;
>         file "leaguetipping.com";
> };
> 
> zone "roosterstipping.com" {
>         type master;
>         file "roosterstipping.com";
> };
> 
> zone "officetipping.com" {
>         type master;
>         file "officetipping.com";
> };
> 
> zone "augustflorist.com" {
>         type master;
>         file "augustflorist.com";
> };
> 
> zone "augustflorist.co.uk" {
>         type master;
>         file "augustflorist.co.uk";
> };
> 
> zone "houseplantdoctor.com" {
>         type master;
>         file "houseplantdoctor.com";
> };
> 
> zone "resultsinsport.com" {
>         type master;
>         file "resultsinsport.com";
> };
> 
> zone "sportspunter.com" {
>         type master;
>         file "sportspunter.com";
> };
> 
> zone "asianhandicapodds.com" {
>         type master;
>         file "asianhandicapodds.com";
> };
> 
> zone "melbournecupbetting.net" {
>         type master;
>         file "melbournecupbetting.net";
> };
> 
> zone "sportspunter.com.au" {
>         type master;
>         file "sportspunter.com.au";
> };
> 
> zone "netnaturopath.com" {
>         type master;
>         file "netnaturopath.com";
> };
> 
> zone "tennisbettingodds.net" {
>         type master;
>         file "tennisbettingodds.net";
> };
> 
> zone "rugbybettingodds.net" {
>         type master;
>         file "rugbybettingodds.net";
> };
> 
> zone "nflbettingodds.net" {
>         type master;
>         file "nflbettingodds.net";
> };
> 
> zone "cricketbettingodds.net" {
>         type master;
>         file "cricketbettingodds.net";
> };
> zone "nhlbettingodds.net" {
>         type master;
>         file "nhlbettingodds.net";
> };
> zone "nbabettingodds.net" {
>         type master;
>         file "nbabettingodds.net";
> };
> zone "gocasinogambling.co.uk" {
>         type master;
>         file "gocasinogambling.co.uk";
> };
> 
> 
> zone "eurosoccerbetting.net" {
>         type master;
>         file "eurosoccerbetting.net";
> };
> 
> zone "frenchsoccerbetting.net" {
>         type master;
>         file "frenchsoccerbetting.net";
> };
> 
> zone "germansoccerbetting.net" {
>         type master;
>         file "germansoccerbetting.net";
> };
> 
> zone "italiansoccerbetting.net" {
>         type master;
>         file "italiansoccerbetting.net";
> };
> 
> zone "spanishsoccerbetting.net" {
>         type master;
>         file "spanishsoccerbetting.net";
> };
> 
> zone "englishsoccerbetting.net" {
>         type master;
>         file "englishsoccerbetting.net";
> };
> 
> 
> zone "pickswarehouse.com" {
>         type master;
>         file "pickswarehouse.com";
> };
> 
> 
> zone "comparejackpots.com" {
>         type master;
>         file "comparejackpots.com";
> };
> 
> 
> zone "scottishsoccerbetting.net" {
>         type master;
>         file "scottishsoccerbetting.net";
> };
> 
> zone "rleaguebetting.com" {
>         type master;
>         file "rleaguebetting.com";
> };
> 
> zone "sydneyfctipping.com" {
>         type master;
>         file "sydneyfctipping.com";
> };
> 
> zone "goalservebetting.com" {
>         type master;
>         file "goalservebetting.com";
> };
> 
> 
> 
> Daniel Kirk
> Managing Editor
> -~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-
> web:  http://www.sportspunter.com
>       http://www.toptipper.com
>       http://www.pickswarehouse.com
> email : editor at sportspunter.com
> phone : +61(0)410 409 237
> fax : +61(0)2 66462847
> Internet Digital Media Australia
> ABN : 51275059681
> -~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~- 
> 
> 
> 
> Mark Andrews wrote:
> 
> >>I have a feeling this question is going to have a very obvious answer, 
> >>but I have searched hi and low for the last 5 hours and have not found it. 
> >>    
> >>
> >
> >	Fix your firewall.  You are blocking both udp and tcp connections
> >	to the nameserver.  
> >
> ># tcpdump -n -p -i iwi0 port 53 or icmp 
> >tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
> >listening on iwi0, link-type EN10MB (Ethernet), capture size 96 bytes
> >17:11:39.287680 IP 130.129.22.115.53838 > 207.228.252.47.53: S 3556135795:3556135795(0
> ) win 65535 <mss 1460,nop,wscale 1,nop,nop,timestamp 166498454 0,sackOK,eol>
> >17:11:39.399853 IP 207.228.252.47 > 130.129.22.115: ICMP host 207.228.252.47 unreachab
> le - admin prohibited, length 72
> >17:12:08.050693 IP 130.129.22.115.56558 > 207.228.252.47.53:  39434+ A? kirkyonline.co
> m. (33)
> >17:12:08.158057 IP 207.228.252.47 > 130.129.22.115: ICMP host 207.228.252.47 unreachab
> le - admin prohibited, length 69
> >
> >  
> >
> >>I've got a new server installation, BIND 9.4 on Fedora Core 6.  It loads 
> >>fine and says its loaded 39 zones and I cannot find any error messages:
> >>/etc/init.d/named status
> >>number of zones: 39
> >>debug level: 0
> >>xfers running: 0
> >>xfers deferred: 0
> >>soa queries in progress: 0
> >>query logging is OFF
> >>recursive clients: 0/1000
> >>tcp clients: 0/100
> >>server is up and running
> >>
> >>However, none of my domain name resolve at all, I cannot connect to 
> >>anything except an ip, and any other programs like sendmail don't work 
> >>either.
> >>
> >>I'm using old config files so they are likely to be the source of the 
> >>problem.  eg
> >>
> >> cat /var/named/chroot/var/named/kirkyonline.com
> >>;
> >>; Zone file for kirkyonline.com
> >>;
> >>
> >>$TTL 3D
> >>@       IN      SOA     ns0.kirkyonline.com. dkirk.bigpond.net.au. (
> >>                        2007032004
> >>                        8H
> >>                        2H
> >>                        4W
> >>                        1D )
> >>;
> >>                NS      ns0.kirkyonline.com. ; Inet Address of name server
> >>                NS      ns1.kirkyonline.com. ; Inet Address of name server
> >>                MX      10 mail.kirkyonline.com. ; Primary Mail Exchanger
> >>;
> >>localhost       A       207.228.252.47
> >>ns0             A       207.228.252.47
> >>ns1             A       207.228.252.194
> >>www             A       207.228.252.47
> >>mail            A       207.228.252.47
> >>
> >> dig +trace www.kirkyonline.com
> >>
> >>; <<>> DiG 9.3.4 <<>> +trace www.kirkyonline.com
> >>;; global options:  printcmd
> >>;; connection timed out; no servers could be reached
> >>
> >>the name servers for the domain registration kirkyonline.com are 
> >>ns0.kirkyonline.com and ns1.kirkyonline.com
> >>
> >>I've just about reached the end of my tether (no sleep for 30 hours is 
> >>hard) so if anyone can help me I'll give you a big kiss.
> >>
> >>thanks
> >>
> >>Daniel Kirk
> >>Managing Editor
> >>-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-
> >>web:  http://www.sportspunter.com
> >>      http://www.toptipper.com
> >>      http://www.pickswarehouse.com
> >>email : editor at sportspunter.com
> >>phone : +61(0)410 409 237
> >>fax : +61(0)2 66462847
> >>Internet Digital Media Australia
> >>ABN : 51275059681
> >>-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~- 
> >>
> >>
> >>
> >>
> >>    
> >>
> >>> 
> >>>
> >>>      
> >>>
> >>    
> >>
> 
> 
-- 
Mark Andrews, ISC
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742                 INTERNET: Mark_Andrews at isc.org



More information about the bind-users mailing list