-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1On 8/31/07 9:15 PM, mufurcz wrote:
1. Add more zones for your new domains in your named.conf file.
Here's a bind 9 example:
zone "abcd.com.xy" in {
type master;
file "/etc/namedb/master/db.abcd.com.xy";
allow-query { any; };
allow-transfer { xfer; };
};
zone "2.1.666.in-addr.arpa" in {
type master;
file "/etc/namedb/master/db.666.1.2";
allow-query { any; };
allow-transfer { xfer; };
};
zone "abcd.net.xy" in {
type master;
file "/etc/namedb/master/db.abcd.net.xy";
allow-query { any; };
allow-transfer { xfer; };
};
zone "abcd.org.xy" in {
type master;
file "/etc/namedb/master/db.abcd.org.xy";
allow-query { any; };
allow-transfer { xfer; };
};
2. Create new zone files for each zone. They'll look just like your
abcd.com.xy zone file except SOA and other references to "com" should
instead read "net" or "org" or whatever. (You may want to keep the
hostmaster's email address in the .com domain; that's up to you.)
3. Run "rndc reload" or restart your nameserver.
Comments:
a. Set up only one reverse zone. An IP address should reverse-resolve to
exactly one hostname.
b. You must be authoritative for the domains and network addresses,
respectively, for the new domains and reverse lookups to work. That's
between you, your registrar (for the domains), and your ISP(s) (for the
IP addresses).
c. "DNS & Bind" by Albitz and Liu is still THE reference on DNS. Highly
recommended.
dn
iD8DBQFG2cy4yPxGVjntI4IRAmN+AKCPhXbVEg/gEZ8oy1nUl5lrOq4MWQCfSVQt
LAW87qfpMPGAqm8v+SgWuBs=
=iZGy
-----END PGP SIGNATURE-----
| monstr | [PATCH 27/56] microblaze_v2: support for a.out |
| Tarkan Erimer | Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3 |
| Greg KH | [GIT PATCH] driver core patches against 2.6.24 |
| Rafael J. Wysocki | [Bug #10493] mips BCM47XX compile error |
git: | |
| Jarek Poplawski | [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
| Gerrit Renker | [PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side) |
| David Miller | [GIT]: Networking |
| Frans Pop | svc: failed to register lockdv1 RPC service (errno 97). |
