Koozali.org: home of the SME Server
Legacy Forums => Experienced User Forum => Topic started by: Mark Rogers on April 24, 2002, 08:29:54 PM
-
I need to make a change to:
/home/dns/var/named/db.mydomain.co.uk
.. which isn't undone by e-smith.
Where should I do this?
Specifically, I have in the file (as entered via server-manager):
mymachine IN A 192.168.10.12
after which I need to add:
*.mymachine IN A 192.168.10.12
.. to allow wildcard subdomains to resolve correctly. I cannot enter *.mymachine via server-manager, but if I hard code it it soon vanishes.
-
I beleive you're looking for:
/etc/e-smith/templates/var/named/named.primarydomain
Cheers!
Ari
-
Having spent ages looking before I posted I found the answer just before I got your reply - typical. But thanks for confirmation as this isn't clear.
NEXT QUESTIONS:
1. How do I stop it updating other domains the same way? I only want it to update my primary domain but it's changing db.* at the moment.
2. How do I force an update of that file? Ie:
/sbin/e-smith/expand-template
At the moment I'm making a change via server-manager to force the update but that's a pain.
For the record, what I have done so far is create:
/etc/e-smith/templates-custom/var/named/named.primarydomain/41extraCNAMErecords
.. containing
*.mymachine IN CNAME mymachine
.. and that does the trick after the files have been updated.