named not working, please HELP !

Kevin Darcy kcd at daimlerchrysler.com
Fri Sep 15 21:01:12 UTC 2000


Neither of the current nameservers for "robhulme.com" know about the name
"ns1.robhulme.com", so how do you expect that name to pass validation? Do they
both know to be slaves to your box? The serial number for robhulme.com on your
box is 1, theirs is much higher. You'll have to do a reset of some kind before
normal master/slave replication will work.


- Kevin

Robert Hulme wrote:

> Hi,
>
> Can anyone help me with setting up the domain servers for my domain
> robhulme.com ?
>
> I'm having real difficulties - this is the first time I've ever had to do
> anything like
>
> this, and I don't understand why what I've done doesn't work.
>
> I've got a co located box with the IP addresses 212.67.193.37 and
> 212.67.193.38. It is going
>
> to host some sites both in terms of serving them (HTTP) and being the
> primary (and
>
> secondary?) name server for the domains.
>
> I'm trying to get just one domain to work at the moment, robhulme.com... I
> *feel* like I'm
>
> almost there - if I use nslookup on my box I get the right result for that
> domain, and also
>
> it resolves other names on the net ok (like www.yahoo.com for example):
> # nslookup robhulme.com
> Server:  localhost.dyndns.org
> Address:  127.0.0.1
>
> Name:    robhulme.com
> Address:  212.67.193.37
>
> but my registrars automatic control panel won't let me change the primary /
> secondaries for
>
> the domain to my box - it says 'No name servers detected' when I try to
> change the primary /
>
> secondary to it...
>
> I've tried changing the primary / secondary using that control panel to a
> DNS server that I
>
> already know works such as the name server at university (unix2.derby.ac.uk)
> and that works
>
> fine - so its not their control panel thats the problem, its something to do
> with my box.
>
> I rang my registrar and after several hours literally of talking to people
> and getting
>
> different answers to questions I've decided that asking them isn't the best
> of solutions.
>
> They did say however that I can't use an IP to identify my box, I have to
> use a host name...
>
> I've used DynDNS (www.dyndns.org) to get the host pensionweb.dyndns.org to
> point at
>
> 212.168.193.37 (my box), but even if I use that the control panel says that
> there is no name
>
> server there.
>
> I'm using named on FreeBSD 4.0-Stable. To start named I just typed 'named'
> when logged in as
>
> root. I've included the configuration files for your perusal below:
>
> Can someone please please please help me - this is driving me absolutely
> crazy...
>
> This is the output I get from ps
> USER   PID %CPU %MEM   VSZ  RSS  TT  STAT STARTED      TIME COMMAND
> root 71308  0.0  0.7  2060 1672  ??  Ss    4:19PM   0:00.00 named
>
> These are the entries named makes on startup in /var/log/messages
> ->
> Sep 15 16:19:46 www named[71307]: starting.  named 8.2.2-P5-NOESW Mon Mar 20
> 20:43:54 GMT
>
> 2000  root at monster.cdrom.com:/usr/obj/usr/src
> /usr.sbin/named
> Sep 15 16:19:46 www named[71307]: limit files set to fdlimit (1024)
> Sep 15 16:19:46 www named[71307]: Zone "robhulme.com" (file db.robhulme): No
> default TTL set
>
> using SOA minimum instead
> Sep 15 16:19:46 www named[71308]: Ready to answer queries.
>
> -> db.robhulme
> robhulme.com. IN SOA ns1.robhulme.com. ns2.webfusion.co.uk. (
>  1 ; Serial
>  10800 ; Refresh after 3 hours
>  3600 ; Retry after 1 hour
>  604800 ; Expire after 1 week
>  86400 ) ; Minimum TTL of 1 day
>
> robhulme.com. IN NS ns1.robhulme.com.
> robhulme.com. IN NS ns2.webfusion.co.uk.
>
> localhost.robhulme.com. IN A 127.0.0.1
> robhulme.com.           IN A 212.67.193.37
> ns1.robhulme.com.       IN A 212.67.193.37
> ns2.robhulme.com.       IN A 212.67.193.38
> www.robhulme.com.       IN A 212.67.193.38
>
> ->localhost.rev
> ;       From: @(#)localhost.rev 5.1 (Berkeley) 6/30/90
> ; $FreeBSD: src/etc/namedb/PROTO.localhost.rev,v 1.6 2000/01/10 15:31:40
> peter Exp $
> ;
> ; This file is automatically edited by the `make-localhost' script in
> ; the /etc/namedb directory.
> ;
>
> $TTL    3600
>
> @       IN      SOA     pensionweb.dyndns.org. root.pensionweb.dyndns.org.
> (
>                                 20000823        ; Serial
>                                 3600    ; Refresh
>                                 900     ; Retry
>                                 3600000 ; Expire
>                                 3600 )  ; Minimum
>         IN      NS      pensionweb.dyndns.org.
> 1       IN      PTR     localhost.dyndns.org.
>
> // $FreeBSD: src/etc/namedb/named.conf,v 1.6 1999/08/27 23:24:02 peter Exp $
> //
> // Refer to the named(8) man page for details.  If you are ever going
> // to setup a primary server, make sure you've understood the hairy
> // details of how DNS is working.  Even with simple mistakes, you can
> // break connectivity for affected parties, or cause huge amount of
> // useless Internet traffic.
>
> options {
>         directory "/etc/namedb";
> };
>
> zone "robhulme.com" {
>         type master;
>         file "db.robhulme";
> };
>
> zone "." {
>         type hint;
>         file "named.root";
> };
>
> zone "0.0.127.IN-ADDR.ARPA" {
>         type master;
>         file "localhost.rev";
> };
>
> I don't have control over the network I'm on (I don't know if that makes
> sense) - so I
>
> haven't done a reverse lookup file the IP addresses of the server.
>
> Thanks
> -Rob






More information about the bind-users mailing list