Koozali.org: home of the SME Server
Obsolete Releases => SME Server 7.x => Topic started by: hawk2xl on July 16, 2006, 03:44:09 PM
-
Hello,
need some pointers on how to create a template for adding entries to
/service/dnscache/root/servers.
have been toying around with
/etc/e-smith/templates-custom/var/service/dnscache/root/servers
without much sucess even after browsing through available docs.
-
need some pointers on how to create a template for adding entries to
/service/dnscache/root/servers.
Why? The root servers are a standardised set. The Internet is a global network, and all users should use the same name -> IP address mappings.
-
it's because i need to use a feature of the dnscache prog where i'll
forward queries for domains which are only visible "inside" their
private network.
-
it's because i need to use a feature of the dnscache prog where i'll
forward queries for domains which are only visible "inside" their
private network.
The root servers list isn't used for such delegation.
The domains panel already allows domains to be forwarded to the corporate name server. I think that is what you want.
-
sorry charlie, maybe i did not explain clearly.
the domain panel will forward ALL queries, I only need specific ones.
in /service/dnscache/root/servers I would have 3 files
@
c.b.a.in-addr.arpa
domainname.com
@ contains 127.0.0.2
c.b.a would be my private ip's first three octet in reverse containing 127.0.0.1
domain name would be my domain name containing 127.0.0.1
i need to add 2 more files to this directory
/service/dnscache/root/servers
in order to forward specific dns queries to anotherdomainname.com
g.f.e.in-addr.arpa
anotherdomainname.com
the problem is how to do this in templates 'coz if i dont and i issue a "svc -t /service/dnscache" manually added entries will dissappear.
-
finally resolved with an ugly hack.
-
finally resolved with an ugly hack.
We were using this exact feature in 6.x as well, but it no longer works. Can I ask how you got around it, or what the correct way to achive the same result is?
TIA