Koozali.org: home of the SME Server

External DNS

Maciek

External DNS
« on: July 11, 2001, 03:17:00 PM »
How to run external DNS on e-smith serwer 4.1.2 ( I have static IP-adress).

Harry Harjono

Re: External DNS
« Reply #1 on: July 17, 2001, 10:04:19 PM »
I am using 4.1.1 instead of the latest 4.1.2. This is what I did to get named to response to requests from external machines.

1. copy all files in /etc/e-smith/templates/etc/named.conf
to /etc/e-smith/templates-custom/etc/named.conf

2. edit /etc/e-smith/templates-custom/etc/named.conf/15listenon
to add your external static IP A.B.C.D in listen-on clause:
        listen-on \{ 127.0.0.1; { $LocalIP }; A.B.C.D \};

3. edit /etc/e-smith/templates-custom/etc/named.conf/15querysource
to uncomment the query-source clause (remove the // prefix):
        query-source address * port 53;

4. expand the named.conf template:
/sbin/e-smith/expand-template /etc/named.conf

5. restart named:
/etc/e-smith/events/actions/restart-named

Good luck!
-HH