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

[cobalt-users] A single SOA for all unlisted Zones.... how?



I have been trying to create a solution such that a global SOA is used for 
unresolved domains which have the NS listed as that of my server; I have an 
idea on what it should be like but this obviously doesn't work>>

In /etc/named.conf :
======================================================
# This would catch all unresolved and set them to be processed by
# pri.unresolved zone file
zone "*" { type master; file "pri.unresolved"; };
======================================================




In /etc/named/pri.unresolved:
======================================================
# Set the NS for all unresolved as ns1.auzit.net

$TTL 86400
* IN SOA ns1.auzit.net. viper.staff.cairnscity.com. (
        2003012610
        10800
        3600
        604800
        86400
        )

# Wildcard NS
* IN      NS      ns1.auzit.net.
* IN      NS      ns2.auzit.net.

# Now A Names which define the domains.

domain1.com.    in      a       10.0.0.4
www.domain1.com.        in      a       10.0.0.4
domain2.com.    in      a       10.0.0.99
www.domain2.com.        in      a       10.0.0.99
======================================================



Hopefully you can see what I'm trying to achieve, however I have no idea how 
to make it work (what you've seen is me trying to apply my limited knowledge 
to areas where it doesn't fit :P ).

Thanks in Advance,
James Austin