Chris Cera on 9 Jul 2005 19:23:04 -0000


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

[PLUG] DNS/BIND9 problems


I'm having some trouble setting up the domain passhosting.net on
209.50.161.180 for the first time.  I'm trying to have this
domain serve the outside world.  The domain was registered with
register.com, and the default domain servers were deactivated
weeks ago (well beyond the 48 hrs for the .net tld's TTL to
expire).  Do I have to register my NS's somewhere else other than
the domain I'm trying to run the dns on?

I basically want passhosting.net and the NS record
(ns1.passhosting.net) to be on the same IP (for now).

dig and dnsreport.com have the same issue:
    [ERROR: The parent servers say that the domain
    passhosting.net does not exist.]

    http://www.dnsreport.com/tools/dnsreport.ch?domain=passhosting.net

syslog will say somthing like:
    Jul  9 15:10:35 warbucks named[4044]: loading configuration from
        '/etc/bind/named.conf'
    Jul  9 15:10:35 warbucks named[4044]: zone
        net.passhosting.in-addr.arpa/IN: loaded serial 2005070903
    Jul  9 15:10:35 warbucks named[4044]: zone
        net.passhosting.in-addr.arpa/IN: sending notifies (serial
        2005070903)


To whom are these notifies being sent ... all the TLD's in my
root.cache/root.ca file?

This seems to work:
    $ dig passhosting.net @209.50.161.180

I *just* reloaded the attached zone files, but I've tried
variations of them in the past so I think it's safe to assume
these will not work.  I think my reverse lookups are wrong too,
but I'm less concerned about them at this point ... unless they
are the reason the top tld's are rejecting my posts.

Also, there is some firewall hardware I'm relatively unfamiliar
with, but I believe it is setup correctly.

Any/all comments are sincerely appreciated.  Thanks!

-- 
Chris Cera                                         http://cera.us
options {
	directory "/var/bind";

	// uncomment the following lines to turn on DNS forwarding,
	// and change the forwarding ip address(es) :
	//forward first;
	//forwarders {
	//	123.123.123.123;
	//	123.123.123.123;
	//};

	listen-on-v6 { none; };
        listen-on { 127.0.0.1; 192.168.1.100; 209.50.161.180; };


	// to allow only specific hosts to use the DNS server:
	//allow-query {
	//	127.0.0.1;
	//};

	// if you have problems and are behind a firewall:
	//query-source address * port 53;
	pid-file "/var/run/named/named.pid";
};

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

zone "localhost" IN {
	type master;
	file "pri/localhost.zone";
	allow-update { none; };
	notify no;
};

zone "127.in-addr.arpa" IN {
	type master;
	file "pri/127.zone";
	allow-update { none; };
	notify no;
};
zone "passhosting.net" {
	type master;
	file "pri/passhosting.net.zone";
	};

zone "net.passhosting.in-addr.arpa" {
	type master;
	file "pri/209.50.161.180.rzone";
};

/*
zone "180.161.50.209.in-addr.arpa" {
	type master;
	file "pri/209.50.161.180.rzone";
};
*/
$ttl 3600
passhosting.net.            IN    SOA    ns1.passhosting.net. dns.passhosting.net. (
            2005070903 ; serial
            3600 ; refresh
            3600 ; retry
            3600 ; expire
            3600 ) ; minimum ttl
passhosting.net.            IN    NS    ns1.passhosting.net.
passhosting.net.            IN    NS    ns2.passhosting.net.
passhosting.net.            IN    MX    10 mail
passhosting.net.            IN    A    209.50.161.180
ns1.passhosting.net.        IN    A    209.50.161.180
ns2.passhosting.net.        IN    A    209.50.161.180
mail.passhosting.net.       IN    A    209.50.161.180
localhost.passhosting.net.  IN    A    127.0.0.1
www                         IN    CNAME    passhosting.net.
$TTL 3600
@       IN      SOA     ns1.passhosting.net. dns.passhosting.net. (
            2005070903 ; serial
            3600 ; refresh
            3600 ; retry
            3600 ; expire
            3600 ) ; minimum ttl
                NS      ns1.passhosting.net.
                NS      ns2.passhosting.net.
1               PTR     ns1.passhosting.net.
2               PTR     ns2.passhosting.net.
3               PTR     mail.passhosting.net.
4               PTR     www.passhosting.net.
5               PTR     passhosting.net.
___________________________________________________________________________
Philadelphia Linux Users Group         --        http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug