Subdomain question.....
phn at icke-reklam.ipsec.nu
phn at icke-reklam.ipsec.nu
Wed Jun 12 19:34:01 UTC 2002
Ian B <ian_barraclough at yahoo.com> wrote:
> OK - pretty simple question really - I need to add a subdomain that
> has the same name as an A record in the parent domain. This is to
> cover a marketing typo that was released in error!
> Basically I need to say
> name IN A 1.2.3.4
> and then in the subdomain
> www IN CNAME name.parent.com.
I would do :
1/ remove the 'A' record in the parent, replace with a 'NS' to the servers
for the subdomain
2/ in the zonefile for the subdomain, add an 'A' record for the subdomain itself :
@ IN SOA (whatever )
IN NS 1-st server
IN NS 2-nd server
IN A ( yout IP here )
3/ did i see that you used bind 8.2.1 ? REPLACE REPLACE REPLACE !!!
It has serious security holes !
> So i config appropriately and I can get my primary to answer correctly
> but when I xfer from one of secondaries it tells me that the primary
> is not authoratative for the zone I am trying to xfer??? Any help much
> appreciated - some logs/files below for examples....
> bind-8.2.1
> From messages........
> Jun 12 10:52:49 host.parent.com named[14383]: Zone "name.parent.com"
> (file db
> .name.parent): No default TTL set using SOA minimum instead
> db.parent...........
> name IN A 1.2.3.4
> db.name.parent.........
> @ IN SOA ns.parent.com. mail.parent.com. (
> 2002061208 ; Serial yyyymmdd##
> (## rev)
> 36000 ; 10hr Refresh
> 3600 ; 1hr Retry
> 691200 ; 8days Expiration
> 86400 ) ; 24hr Min Time to
> Live
> IN NS ns3.parent.com.
> IN NS ns5.parent.com.
> IN NS ns6.parent.com.
> www IN CNAME name.parent.com.
--
Peter Håkanson
IPSec Sverige ( At Gothenburg Riverside )
Sorry about my e-mail address, but i'm trying to keep spam out,
remove "icke-reklam" if you feel for mailing me. Thanx.
More information about the bind-users
mailing list