Example: giving a name to the business-software server. The administration PCs must reach erp.corp.johnsmith.test (192.168.10.41).
- Open DNS → Zones and select the zone
corp.johnsmith.test. - Press «Add record». «Type»:
A; «Name»:erp; «IP»:192.168.10.41; «TTL»: leave empty. - Press «Save records»: «Record added.» appears.
- From a domain PC, as
jbrown:nslookup erp.corp.johnsmith.testreturns 192.168.10.41.
Example: an alias for the intranet. Colleagues type intranet; the site lives on atlas.
- Zone
corp.johnsmith.test→ «Add record». - «Type»:
CNAME; «Name»:intranet; «Value»:atlas.corp.johnsmith.test. - Save.
nslookup intranet.corp.johnsmith.testanswers with the alias and then with the address ofatlas. - If you already had an A record called
intranet, the console refuses with «A name with a CNAME cannot hold other records»: delete the A record first.
Example: making the public name resolve to the internal address from the inside (split DNS). From the outside atlas.johnsmith.test is 198.51.100.40; from the inside it must be 10.20.0.2, so as not to go out through the router.
- DNS → Zones → «Add zone». «Zone name»:
johnsmith.test; «Reference IP address»:10.20.0.2. «Create zone». - Open the zone and add an A record for every name the internal clients must keep using:
atlas→10.20.0.2(add it even though the zone was born with the root at the same address),www→192.168.10.40(the site’s web server) and so on. - Check from a domain PC with
nslookup atlas.johnsmith.testandnslookup www.johnsmith.test. - If a public name no longer resolves from the inside, it is because you did not recreate it in the zone: add it (or delete the zone and go back to the public DNS).
Example: the business-software server changes address. The server moves from 192.168.10.41 to 192.168.10.45.
- Open the zone
corp.johnsmith.testand look forerpwith the record search. - Select it: type and name are fixed; change «IP» to
192.168.10.45and press «Save records»: «Record updated.» - PCs that remembered the old address keep it for the duration of the TTL; to force the change at once, run
ipconfig /flushdnson a PC. - If you had added the same name to Atlas’s hosts file (System → Settings → Hosts), update that too: normally the appliance reads it before the DNS.
Example: removing a wrong record. You wrote erps instead of erp.
- Select the record
erpsand press «Delete». - Confirm «Delete this record?»: «Record removed.» appears.
- A record with the «System» chip cannot be removed: if it looks wrong to you, it is not your mistake, it belongs to the domain.