Where are your nameservers?
If you use external nameservers you need to give the
hosting company, or provider the new domain name and
any changes for individual hosts.
If you are running your own dns I suggest you look
at the DNS howto and follow an example like this.
From named.conf remove the old entries or edit them.
Sonmething like this.
Code:
zone "pzone.ho" in {
type master;
file "pzone.znf";
};
zone "3.168.192.in-addr.arpa" in {
type master;
file "192.168.3";
};
From your /var/named(or wherever your zone files
are kept)change the zonefile information and
reverse file information.
Zonefile:
Code:
$TTL 3D
@ IN SOA ns.pzone.ho. root.ourhouse.net. (
200207211 ; serial
6H ; refresh
1H ; retry
6W ; expire
5D) ; minimum
IN NS ns
IN MX 10 pmail.pzone.ho.
@ IN A 192.168.3.4
ns IN A 192.168.3.4
pmail IN A 192.168.3.3
diggity IN A 192.168.3.2
skav IN CNAME diggity
skag IN CNAME pmail
buggy IN CNAME ns
Make sure you increment the serial.
For the in-addr-arpa lookups(PTR file):
Code:
$TTL 3D
@ IN SOA ns.pzone.ho root.localhost. (
200207211 ; serial
6H ; refresh
1H ; retry
6W ; expire
5D) ; minimum
IN NS ns.pzone.ho.
4 IN PTR ns.pzone.ho.
3 IN PTR pmail.pzone.ho.
1 IN PTR diggity.pzone.ho.
Again increment the serial after editing.
Then run some queries:
Code:
nslookup -sil skav.pzone.ho
Server: 192.168.1.45
Address: 192.168.1.45#53
skav.pzone.ho canonical name = diggity.pzone.ho.
Name: diggity.pzone.ho
Address: 192.168.3.2
nslookup -sil buggy.pzone.ho
Server: 192.168.1.45
Address: 192.168.1.45#53
buggy.pzone.ho canonical name = ns.pzone.ho.
Name: ns.pzone.ho
Address: 192.168.3.4
If you need more help my consulting fees are very reasonable.