RE: [opensuse] setting up PTR DNS records in Suse
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 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 James D. Parra wrote:
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
Sorry, did not ask which version you where using, I am on 10.2. The base configuration file is /etc/named.conf .. But before you go further I suggest you look at the documentation and examples in... /usr/share/doc/packages/bind The /etc/named.conf will point to the working directory with the directory directive, in my case it is /var/lib/named but yours may differ. The example files in the documentation will give a good feel for the syntax and relationship between the /etc/named.conf /etc/named.d directory and the working directory, better than I can in a single e-Mail. HTH -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org iD8DBQFGXbytasN0sSnLmgIRAmLuAKC73cJ9lT2ONxv75RQqXXiD9Ew1ZwCdG4BL Z0Ylm8x3d+xeU4rXQSktDzw= =eW3C -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
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: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (3)
-
david rankin
-
G T Smith
-
James D. Parra