LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How to add ptr records in SunOS 5.10 DNS Server (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-add-ptr-records-in-sunos-5-10-dns-server-4175430945/)

riyaskt 10-07-2012 07:10 AM

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

bathory 10-07-2012 09:50 AM

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

riyaskt 10-08-2012 12:46 AM

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

bathory 10-08-2012 02:11 AM

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

riyaskt 10-10-2012 05:48 AM

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,

bathory 10-10-2012 07:11 AM

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.


All times are GMT -5. The time now is 05:16 AM.