Problem with domain on local network

Peter Dambier peter at peter-dambier.de
Mon Mar 27 22:51:14 UTC 2006


Looks like the "$ORIGIN" statement was missing. See below


mikedawg at gmail.com wrote:
> I'm having problems with a zone file that I'm using for my local
> domain.  As I watch the log files (/var/log/messages) for bind, it
> doesn't look like bind is even loading the file when named is started.
> I was wondering if someone can take a quick peak at it, and let me know
> what I'm doing wrong.
> 
> Does everything look okay here?
> 
> Here is what I have in my named.conf file (related the zone file in
> question) :
> 
> zone "xxxx.sys" IN {
>         type master;
>         file "primary/xxxx.sys";
>         allow-update { none; };
>         allow-transfer { none; };
>         allow-query { 192.168.1.0/24; };
> };
> 
> Here is what the zone file looks like for that zone (located at
> primary/xxxx.sys, readable and writable by the named user) :
> 


$ORIGIN xxxx.sys

> $TTL 3D
> @                       IN      SOA     ns.xxxx.sys.
> hostmaster.xxxx.sys. (
>                                         2006032703    ; Update serial
> on every edit (incrementally)
>                                         3h
>                                         1h
>                                         1w
>                                         1h )
> ;
> ; Name servers
> @               IN      A       192.168.1.9
>                   IN      NS      ns.xxxx.sys.
>                   IN      NS      ns.xxxx.org.    ; FQDN of my dns
> server
> ;
> ; Addresses for the canonical names
> ;
> localhost       IN      A       127.0.0.1
> slacker2        IN      A       192.168.1.9
> bad-ath64      IN      A       192.168.1.2
> melement      IN      A       192.168.1.8
> firewall           IN      A       192.168.1.1
> slacker          IN      A       192.168.1.7
> mail               IN      A       192.168.1.9
> ns                 IN      A       192.168.1.9
> 
> 


-- 
Peter and Karin Dambier
The Public-Root Consortium
Graeffstrasse 14
D-64646 Heppenheim
+49(6252)671-788 (Telekom)
+49(179)108-3978 (O2 Genion)
+49(6252)750-308 (VoIP: sipgate.de)
mail: peter at peter-dambier.de
mail: peter at echnaton.serveftp.com
http://iason.site.voila.fr/
https://sourceforge.net/projects/iason/



More information about the bind-users mailing list