LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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, 07: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, 09:50 AM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
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, 12: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, 02:11 AM   #4
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
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, 05: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, 07:11 AM   #6
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
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



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 04:42 PM
BIND9 PTR Records pgibsonorg Linux - Software 1 09-12-2011 05:58 PM
Add/edit/delete MS DNS records from Linux psychobyte Linux - Networking 3 05-24-2011 02:23 PM
multiple ptr records same ip address jdappert Linux - Networking 3 02-23-2011 08:26 AM
PTR records on dynamic ipaddress coolb Linux - Networking 8 12-21-2006 02:10 AM

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

All times are GMT -5. The time now is 03:27 PM.

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
Open Source Consulting | Domain Registration