Koozali.org: home of the SME Server

Obsolete Releases => SME 7.x Contribs => Topic started by: estong on June 11, 2006, 02:41:04 AM

Title: newbie Q
Post by: estong on June 11, 2006, 02:41:04 AM
yo :)

i've just started to use SME server 7.0rc3, and i was wondering where can i find the named.conf and zone files, please advice otherwise.

thanks
Title: Re: newbie Q
Post by: raem on June 11, 2006, 06:31:40 AM
estong

>... 7.0rc3, and i was wondering where can i find the named.conf and zone files

I think the answer to your question may be that sme server is not a public dns server
Title: newbie Q
Post by: estong on June 11, 2006, 07:43:09 AM
thanks for the reply :)

does this mean it can't be made as a public dns server? or is there a work-around on this one?

thanks again
Title: newbie Q
Post by: mmccarn on June 11, 2006, 08:43:07 PM
The only built-in support for DNS management is the "Hostnames and addresses" option under "Configuration" in the server-manager.

If you need more control than this gives you you'll have to find out how to use "custom templates".

SME uses "tinydns" instead of named - so there is no named.conf.

Putting these together, this means you'd need to:

templates/var/service/tinydns/root/data to see if any of them contain the information you need to customize

2. Create /etc/e-smith/templates-custom/var/service/tinydns/root/data

3. Copy the original template fragments that you want to customize from /etc/e-smith/templates/var/service/tinydns/root/data to /etc/e-smith/templates-custom/var/service/tinydns/root/data

4. Modify the copy of the template fragment that you just created under .../templates-custom/...  
IMPORTANT: never modify the original templates under .../templates/...!

5. Execute the following two commands to re-generate the relevant config file using your customizations, and to restart the tinydns service:

Code: [Select]
# expand-template /var/service/tinydns/root/data
# service tinydns restart

6. If you think your mods are useful &/or important, post back here so others can benefit from your efforts.[/list]
Title: newbie Q
Post by: MSmith on June 12, 2006, 12:09:01 AM
SME is NOT designed to be a public DNS server and trying to make it so may well break some important security features of this setup.  So you're better off with a more general-purpose OS such as a full CentOS install.
Title: newbie Q
Post by: estong on June 12, 2006, 01:24:17 AM
hi guys :)

i really appreciate you taking the time to go over my query, i will check on your suggestions, and post an update on the result :)

thanks again and more power
Title: newbie Q
Post by: raem on June 12, 2006, 11:41:29 AM
estong

Kumusta

If you search these forums, back a year or so, you will find references to people modifying sme 6 to get this sort of functionality. I can't recall if they were successful or not.
Try a search on dns, and don't forget to click on Show all results
Title: newbie Q
Post by: estong on June 12, 2006, 11:19:44 PM
raymitchell

mabuhey

i already made a search here on the topic, prior to posting this thread; im try to dig deep on the suggestion of mccarn

thanks :)