Koozali.org: home of the SME Server

Legacy Forums => Experienced User Forum => Topic started by: Kobus on August 04, 2004, 08:30:12 PM

Title: Addtional DNS entries
Post 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.
Title: Addtional DNS entries
Post by: Boris on August 05, 2004, 12:04:18 AM
Without more details its hard to understand what you trying to do and how.
Title: Addtional DNS entries
Post by: Kobus on August 05, 2004, 09:41:08 AM
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.
Title: Addtional DNS entries
Post by: kmac on August 05, 2004, 01:36:54 PM
Did you add them under hostnames and addresses in the server-manager? If you did, that should work.
Title: Addtional DNS entries
Post by: Kobus on August 05, 2004, 04:27:02 PM
I did and it didn't. Can I add them to the files manually?
Title: Addtional DNS entries
Post by: patrick on August 06, 2004, 07:22:16 AM
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
Title: Addtional DNS entries
Post by: Kobus on August 06, 2004, 01:09:32 PM
Thanks I will try that
Title: DNS entries
Post by: cc_skavenger on August 06, 2004, 03:25:41 PM
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
Title: Addtional DNS entries
Post by: Kobus on August 07, 2004, 05:13:32 PM
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
Title: Addtional DNS entries
Post by: rreger on August 11, 2004, 08:28:29 PM
: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.
Title: Addtional DNS entries
Post by: Kobus on August 13, 2004, 08:37:19 PM
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.
Title: Addtional DNS entries
Post by: Kobus on August 14, 2004, 10:03:01 PM
can anybody offer any help on this please
Title: Re: DNS entries
Post by: hardijs on August 16, 2004, 11:55:57 AM
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