LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-07-2012, 08:10 AM   #1
riyaskt
LQ Newbie
 
Registered: Jun 2012
Posts: 5

Rep: Reputation: Disabled
How to add ptr records in SunOS 5.10 DNS Server


Dears,

I would like to know how to add ptr record for a public IP (using for exchange server)in Sunos 5.10 DNS server.

Regards,
Riyas
 
Old 10-07-2012, 10:50 AM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 11,901

Rep: Reputation: 1611Reputation: 1611Reputation: 1611Reputation: 1611Reputation: 1611Reputation: 1611Reputation: 1611Reputation: 1611Reputation: 1611Reputation: 1611Reputation: 1611
Hi,

I guess your dns server is running bind.
In this case, open the zone file of the x.y.z.in-addr.arpa zone and add your new PTR record. See this for an example of a reverse zone file example.
Then increase the serial number, save the zone file and reload bind.

Cheers
 
1 members found this post helpful.
Old 10-08-2012, 01:46 AM   #3
riyaskt
LQ Newbie
 
Registered: Jun 2012
Posts: 5

Original Poster
Rep: Reputation: Disabled
Dear Cheers,

Thanks for your quick reply. Am new in linux platform. Could you please provide step by step instruction including commands, it will help me a lot. please.

My ip - 92.102.18.163
Ptr - 18.102.92.in-addr.arpa
this ip is using for exchange server, and its mailer.tek.com

Regards,

Riyas
 
Old 10-08-2012, 03:11 AM   #4
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 11,901

Rep: Reputation: 1611Reputation: 1611Reputation: 1611Reputation: 1611Reputation: 1611Reputation: 1611Reputation: 1611Reputation: 1611Reputation: 1611Reputation: 1611Reputation: 1611
Hi,

Find the zone file for the 18.102.92.in-addr.arpa zone and add a record
Code:
163 IN PTR mailer.tek.com.
If you don't know the filename of the zone file, take a look in /etc/named.conf where it's defined.

Regards
 
Old 10-10-2012, 06:48 AM   #5
riyaskt
LQ Newbie
 
Registered: Jun 2012
Posts: 5

Original Poster
Rep: Reputation: Disabled
Dears Thanx for your reply.

Bathory,

i added a PTR record in my reverse lookup zone, but when i tried check with command nslookup it showing below given error,


**server cant find 163.18.102.92.in-addr.arpa: SERVFAIL

i can resolve mailer.tek.com to its curresponding IP 92.102.18.163

I checked my zone with command named-checkzone and its result is OK and no error.

Please give me a solution for this error. your early reply will help me more.


Regards,
 
Old 10-10-2012, 08:11 AM   #6
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 11,901

Rep: Reputation: 1611Reputation: 1611Reputation: 1611Reputation: 1611Reputation: 1611Reputation: 1611Reputation: 1611Reputation: 1611Reputation: 1611Reputation: 1611Reputation: 1611
Quote:
**server cant find 163.18.102.92.in-addr.arpa: SERVFAIL
The error you get (SERVFAIL), means that there is a configuration error. What is the outputof
Code:
dig -x 92.102.18.163
I guess you're running bind. If so post named.conf and the reverse zone file.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] DHCP is mangling my PTR records in DNS Zwilrich Linux - Server 10 07-05-2012 05:42 PM
BIND9 PTR Records pgibsonorg Linux - Software 1 09-12-2011 06:58 PM
Add/edit/delete MS DNS records from Linux psychobyte Linux - Networking 3 05-24-2011 03:23 PM
multiple ptr records same ip address jdappert Linux - Networking 3 02-23-2011 09:26 AM
PTR records on dynamic ipaddress coolb Linux - Networking 8 12-21-2006 03:10 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:33 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration