Parent/Child Zone Delegation + Virtual Host question
Kevin Darcy
kcd at daimlerchrysler.com
Mon Feb 7 20:44:29 UTC 2005
You spell it "ankle" in some places, "ankel" in others.
The cabbage.com entries don't belong in the ankle.human.edu zone file,
or _vice_versa_. Ditto for asparagus.com. If the contents of multiple
zones are identical, in relative terms, then you can use the "multiple
references to the same zone file" hack. But all 3 zones here have
different data, even in relative terms (asparagus.com and cabbage.com
are very close, except cabbage.com has an MX record that asparagus.com
lacks), so you'll separate zone files for each zone.
- Kevin
jett wrote:
>I'm currently asked to give up our master DNS server to the main
>department. I requested to become a child zone so we have control over
>our zone data. The problem is we also do virtual hosting on the master
>server before and I'm not sure if it's possible under a Child Zone.
>We'll need to keep hosting these domains. Anyone has suggestions? I put
>these domains in named.conf of the child zone server and this is what i
>get in the log:
>
>----------- snip -------------
>Feb 2 12:07:10 ns1 named[31186]: dns_master_load:
>master/db.ankle.human.edu:14: mfaca.sva.edu: not at top of zone
>Feb 2 12:07:10 ns1 named[31186]: zone www.asparagus.com/IN: loading
>master file master/db.ankle.human.edu: not at top of zone
>--------- end snip -----------
>
>
>i also have trouble resolving any names outside my own zone. i'm running
>BIND 9.2.3 under OpenBSD 3.6. It's the OpenBSD built-in version of BIND.
>here are snippets of config files:
>
>--------- start named.conf ----------------
>// $OpenBSD: named.conf,v 1.6 2004/08/16 15:48:28 jakob Exp $
>// Edited by jett charnchoochai
>// Date Created: 2004-11-21
>// Date Edited: 2004-11-21
>
>acl clients {
> localnets;
> ::1;
>};
>
>key "rndc-key" {
> algorithm hmac-md5;
> secret "MySecret :-)";
>};
>
>controls {
> inet 127.0.0.1 port 953
> allow { 127.0.0.1; } keys { "rndc-key"; };
>};
>
>options {
> version "";
> listen-on { any; };
> listen-on-v6 { any; };
>
>// allow-recursion { clients; };
>};
>
>logging {
> category lame-servers { null; };
>};
>
>// Standard zones
>//
>zone "." {
> type hint;
> file "standard/root.hint";
>};
>
>zone "localhost" {
> type master;
> file "standard/localhost";
> allow-transfer { localhost; };
>};
>
>zone "127.in-addr.arpa" {
> type master;
> file "standard/loopback";
> allow-transfer { localhost; };
>};
>
>zone
>"0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.ip6.arpa" {
> type master;
> file "standard/loopback6.arpa";
> allow-transfer { localhost; };
>};
>
>zone "ankle.human.edu" {
> type master;
> file "master/db.ankle.human.edu";
>};
>
>zone "84.33.204.in-addr.arpa" {
> type master;
> file "master/db.201.54.84.40";
>};
>
>zone "www.asparagus.com"{
> type master;
> file "master/db.ankle.human.edu";
>};
>zone "www.cabbage.com"{
> type master;
> file "master/db.ankle.human.edu";
>};
>
>----------- end named.conf -------------------
>
>
>----------- start db.ankle.human.edu --------------
>$TTL 1d
>ankel.human.edu. IN SOA ns1.ankel.human.edu.
>admin.ankel.human.edu. (
> 2004112101 ; serial
> 3h ; refresh
> 1h ; retry
> 1w ; expire
> 1h ) ; negative caching TTL
>
>; authoritative name servers for ankel.human.edu
> IN NS ns1
> IN NS ns2
>
>; MX records for ankel.human.edu
> IN MX 0 mail1
>
>; DMZ hosts on T1 line
>ankel.human.edu IN A 201.54.84.30
>ns1 IN A 201.54.84.2
>mail1 IN A 201.54.84.15
>shell IN A 201.54.84.16
>webmail IN A 201.54.84.16
>www IN A 201.54.84.30
>phpmyadmin.www IN A 201.54.84.30
>admin IN A 201.54.84.30
>dev1 IN A 201.54.84.30
>dev2 IN A 201.54.84.30
>www2 IN A 201.54.84.40
>web2 IN A 201.54.84.40
>phpmyadmin.www2 IN A 201.54.84.40
>qtserver IN A 201.54.84.50
>
>; virtual hosting for users
>www.asparagus.com. IN A 201.54.84.40
>asparagus.com. IN A 201.54.84.40
>
>www.cabbage.com. IN A 201.54.84.40
>cabbage.com. IN A 201.54.84.40
>cabbage.com. IN MX 10 mail1
>
>; canonical or alias name for localhost
>loghost IN CNAME localhost
>
>
>----------- end db.ankle.human.edu --------------
>
>
>
>any suggestion would be very appreciated.
>
>-jett
>
>
>
>
>
>
>
More information about the bind-users
mailing list