Configure bind for private home network without top level domain

Peter Albrecht pa at suse.de
Wed Jul 7 13:11:18 UTC 2004


Hi Andreas,

On Wednesday 07 July 2004 14:34, Andreas Guther wrote:
> Hi:
> 
> I am trying to figure out how to configure my named.conf and bind to look-up 
> local addresses without the need to have a domain registered.
> 
> I would like to define a local net that resolves all my local boxes at home.
> 
> My idea is to define a zone localdomain.localnet and then have all my boxes 
> defined for that zone.
> 
> I set-up a localdomain.localnet zone in the named.conf file and then defined 
the 
> boxes in the /var/named/db.localdomain.localnet file.  But that seems not to 
be 
> the complete configuration.  I do not get the addresses resolved at all that 
are 
> defined in that file.
> 
> I can restart named without errors.  I tested the zone file with 
named-checkzone
> and get no errors.  I also see that the number of loaded zones has 
increased.
> 
> I tried for find examples for such a set-up but all I find always seems to 
> assume that one needs a registered domain.
> 
> I would like to achieve a dns server set-up for a local net without the need 
to 
> having a domain registered or maintaining a public name server for such a 
domain.
> 

no, you do not have to have a registered domain.

> Any pointer to examples or what especially needs to be considered would be a 
> great help.

What error messages do you get? Do you have your local DNS server defined 
in /etc/resolv.conf? Do you have _two_ files, for forward and reverse lookup? 
Could you please post your named.conf?

Regards,

Peter

-- 
Peter Albrecht, SUSE LINUX AG, peter.albrecht at suse.de


More information about the bind-users mailing list