Multiple Domains
eandroid at my-deja.com
eandroid at my-deja.com
Fri Nov 12 19:12:57 UTC 1999
I'm trying to get multiple domains all pointing to a single IP.
Currently we do this with each domain as its own domain. i was hoping
that we could use just one zone instead and have multiple domains in
each zone's file. here is the contents of one zone file:
; record
foobar.com. IN SOA ns1.ourserver.com. hostmaster.ourserver.com. (
4 ; serial
10800 ; refresh (8h)
3600 ; retry (1h)
604800 ; expire (1w)
86400 ; ttl (1d)
)
; name servers
foobar.com. IN NS ns1.ourserver.com.
foobar.com. IN NS ns2.ourserver.com.
; mail servers
foobar.com. IN MX 0 mail.ourserver.com.
; addresses
foobar.com. IN A 139.142.46.118
; aliases
www.foobar.com. IN CNAME foobar.com.
test.foobar.com. IN CNAME foobar.com.
the test.foobar.com. is a test entry i made to see if i could get this
to work. i also tried another domain we have: barfoo.com. IN CNAME
foobar.com. that did not work. Any ideas on how to modify this file to
support multiple domains?
Sent via Deja.com http://www.deja.com/
Before you buy.
More information about the bind-users
mailing list