Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 12-26-2012, 03:34 AM   #1
Registered: Sep 2009
Posts: 61

Rep: Reputation: 15
rDNS query answer

Tried to parse reverse DNS query on low-level via libresolv.a means
(see res_query in man resolver(3)) f

I'm supposed to obtain for ip e.g. result as:,

but instead of that in filed rdata of struct __ns_rr
(see ns_initparse, ns_msg_count, ns_parserr in nameser.h) i obtained
smth. like that:

So, why it substitutes dot with different numbers (id's of DNS nodes?) and where can i read about that?
Old 12-26-2012, 11:16 AM   #2
Senior Member
Registered: Mar 2012
Distribution: Red Hat
Posts: 1,604

Rep: Reputation: 415Reputation: 415Reputation: 415Reputation: 415Reputation: 415
those look like ascii escape sequences which may be by design from the library used for the query. I may be wrong but this might be something to look into.


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
rDNS / Need Help I_AM Linux - Networking 1 04-06-2010 10:12 PM
Setup RDNS wackolacko Linux - Server 3 03-01-2009 02:21 AM
rdns help requested sir-lancealot Linux - Server 6 01-31-2008 08:23 AM
named.. rdns help zarnold Linux - Server 2 09-05-2006 04:03 AM
Configure rDNS andy18 Linux - Networking 0 11-20-2003 04:50 PM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 07:57 PM.

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