[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[cobalt-users] Fw: A single SOA for all unlisted Zones.... how?
- Subject: [cobalt-users] Fw: A single SOA for all unlisted Zones.... how?
- From: "Cobalt List" <cobalt@xxxxxxxxxxxxx>
- Date: Fri Jan 31 23:43:02 2003
- List-id: Mailing list for users to share thoughts on Sun Cobalt products. <cobalt-users.list.cobalt.com>
k, I this is esscentially all I'm after now...
if a domain is not found in named.conf it uses this other zone file; if bind
were as easy it would be:
zone "www.blah.com" { .....Zone file here... }
else { .... Zone file here...}
but I don't think it is that easy :\ any ideas how this type of thing can be
done (I need it done like this for automation purposes)...
Thanks,
James Austin
---------- Forwarded Message -----------
From: "Cobalt List" <cobalt@xxxxxxxxxxxxx>
To: cobalt-users@xxxxxxxxxxxxxxx
Sent: Sat, 1 Feb 2003 11:34:10 +1000
Subject: 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
------- End of Forwarded Message -------
--
Open WebMail Project (http://openwebmail.org)