Click to See Complete Forum and Search --> : Getting a Nameserver working
dariball
11-26-2002, 10:31 AM
Hi all .....
Having some problems with my Nameserver, I have all whats necassary to run a nameserver includeing static ip and NS-Lookup tells me that it redirects the request.
So my only Problem is the named.conf.
Could maybe someone give me an example what i have to insert into my named.conf for hosting a domain called foo.com ?!
thx a lot ...
bye
dariball
blizz
11-26-2002, 01:01 PM
Hi,
Just add a section like so to your named.conf file ~
and of course you need a zone file for your domain (foo.com.zone) or whatever you want to name your zone file.
zone "foo.com" in {
type master;
file "foo.com.zone";
};
dariball
11-26-2002, 01:25 PM
fine, done the required named.conf entries and made the zone file which looks like this :
$TTL 1D
dariball.de. IN SOA athen011 markus.meissna.de.(
2002112601 ; serial
1D ; refresh
2H ; retry
1W ; expiry
2D) ; minimum
IN NS athen011
IN NS canyon
IN MX 20 athen011
athen011 IN A 217.172.180.11
canyon IN A 65.102.83.43
www IN CNAME athen011.dariball.de.
athen011 IN HINFO AMD-800 "Linux 2.2.19"
--------------------
looks finie but syslog tells me :
dns_zone_load: zone dariball.de/IN: no NS records
???
there are ns records ? or aren't ?
thx
miteycasey
11-26-2002, 04:09 PM
be sure you have no typos in the named.conf file. Also be sure to change the serial number each time you start and stop the named service.
Im not sure if this is entirely correct but mine .zone file looks like this:
$TTL 86400
@ IN SOA ns1.alltimed.org. ftp_alltimed@earthlink.net (
3
28800
7200
604800
86400 )
@ IN NS ns1.alltimed.org.
localhost IN A 127.0.0.1
@ IN A 65.173.78.185
www IN CNAME alltimed.org.
blizz
11-26-2002, 05:36 PM
Try adding the @ symbol
@ IN SOA .......
dariball
11-27-2002, 09:58 AM
fine :)
with the @ it works fine all :)
BUT ....
now i have one nameserver ....
i tried in http://www.granitecanyon.com/ but does it really work ?? or how often are these nameservers refreshed ??
because my registration always fails with ns2.granitecanyon.com doesn't have your domain entry .....
or are there ofther free dns services ???