Koozali.org: home of the SME Server
Legacy Forums => Experienced User Forum => Topic started by: Kobus on August 04, 2004, 08:30:12 PM
-
Hi All
Can any tell me how I add addtional DNS entries on my esmith. I have tried to do it via the web interface but that does not work.
Any help greatly appreciated.
-
Without more details its hard to understand what you trying to do and how.
-
all i want to do is to add dns entires like server5.domain.com to the esmith box. I have the esmith as my pimary dns and need to add a few entries that will be resolved locally in place of going to the internet and then saying cant find it.
-
Did you add them under hostnames and addresses in the server-manager? If you did, that should work.
-
I did and it didn't. Can I add them to the files manually?
-
kbensch,
All you need to do after adding them using the Hostnames and addresses panel is to do a restart of tinydns
I suspect this is a bug with the module as watching the logs it doesnt restart as part of the submit.
Just type: /sbin/service tinydns restart at the root prompt and adding will be complete.
I would be interested in seeing if others are seeing the same thing and if so I will add a bug report.
cheers
Patrick
-
Thanks I will try that
-
This is probably a noob question, but how are you adding more dns entries using the hosts and addresses panel? Are these entries to point to domains or other dns servers? I am trying to add more than one dns server entry to SME and I haven't been able to figure out how to do this...
sorry for the rant
-
I tried restarting tinydns as suggested but no go. I am able to add the dns records, but it seems that what I add in the server-manager does not get activated either because it does not start the service again or some other reason.
Can I not change the dns files direct and then restart tinydns?
or some other help would be much appreciated.
Kobus
-
:pint:
Having the same problem. I have specified a forwarder DNS for remote cache lookups. All local DNS entries are not resolving. When doing a dnstrace on SME local address, the query times out.
-
rreger
have you recently upgraded to 6.01-01?
if so try this
service tinydns stop
service named start
I had to do this on a client box to get dns sorted, at least temp to get email going.
-
can anybody offer any help on this please
-
what I did:
1. add additional dns entries you want in the templates for the
/service/tinydns/root/data
the templates there are quite sufficient to guess what's going on (otherwise search dfor tinydns home )
2. add the respective name/domain you want to be resolved by your sme server (not looked up externally) in the /service/dnscache/root/servers
(this is the missing ingredient :)
say file "localsecret" with contents 127.0.0.1 so that server localsecret is resolved sme locally not looked up at the root dns servers
3. expand templates /flush dnscache
should work now