From: "James D. Parra"
Hello,

Setup DNS in YAST, great tool for this by the way, however where can you
setup the Reverse Lookup records?

Many thanks,

James

However, in the second screen (Domain setup) after you set up the
forwarder addresses does give help on how to set up the reverse lookup
records.

~~~~

Thank you. Using Suse 10.0 Yast and all I see in the DNS Server menu is;
Start-up, Forwarders, Logging, & DNS Zones. Under Forwarders you can add IP
addresses manually and not much else.

Where can I add these PTR records/Reverse Lookup Records, either through
Yast or with 'vi', my preferred terminal editor for making quick changes.

Many thanks,

James

James, just do something like this for your named.conf

providence:/home/david # grep -v '#' /etc/named.conf
include "/etc/named.keys";
include "/etc/rndc.key";
include "/etc/named.conf.include";

controls {
       inet 127.0.0.1 allow { localhost; } keys { rndc-key; };
};

options {
       directory "/var/lib/named";
       dump-file "/var/log/named_dump.db";
       statistics-file "/var/log/named.stats";
       forwarders { 208.180.42.68; 208.180.42.100; 68.1.208.30; };
       forward first;
       listen-on-v6 { none; };
       notify no;
};

zone "." in {
       type hint;
       file "root.hint";
};

zone "localhost" in {
       type master;
       file "localhost.zone";
};

zone "0.0.127.in-addr.arpa" in {
       type master;
       file "127.0.0.zone";
};

zone "rbpllc.com" in {
       file "dyn/rbpllc.com";
       type master;
       allow-update{ key DHCP_UPDATER; };
};

zone "7.168.192.in-addr.arpa" in {
       file "dyn/192.168.7.zone";
       type master;
       allow-update{ key DHCP_UPDATER; };
};


Then for your /var/lib/named/dyn/{reverse zone file} (or /var/lib/named/master/{reverse zone file} if dynamic updates are not used):

providence:/home/david # cat /var/lib/named/dyn/192.168.7.zone
$TTL 2d
@ IN SOA providence.rbpllc.com. root.providence.rbpllc.com. (
                               2007050402      ; serial
                               3h              ; refresh
                               1h              ; retry
                               1w              ; expiry
                               1d )            ; minimum

                       IN NS      providence.rbpllc.com.

13                      IN PTR     gw.rbpllc.com.
15                      IN PTR     bonza.rbpllc.com.
16                      IN PTR     providence.rbpllc.com.
                       IN PTR     www.rbpllc.com.
                       IN PTR     mail.rbpllc.com.
                       IN PTR     ftp.rbpllc.com.

That's all there is to it!



--
David C. Rankin, J.D., P.E.
510 Ochiltree Street
Nacogdoches, Texas 75961
(936) 715-9333
(936) 715-9339 fax
www.rankinlawfirm.com
--

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to