09-08-2008
Carl, your approach seems correct, as well as PTR section. I can't find any gotchas it first glance, I think you're ready to go, certainly, other opinions are appreciated as always.
10 More Discussions You Might Find Interesting
1. IP Networking
when we send email or try to telnet to a site that requires reverse lookup to be enabled the connection is refused.
i have the O'Reilly book DNS and Bind and in it are examples of what the reverse zone file should look like. i don't see a line that defines an email server in the example. is... (1 Reply)
Discussion started by: Westy564
1 Replies
2. IP Networking
our server (solaris, bind v 8.1.2) is suppose to be the authoritive or the master and our isp's server is suppose be the secondary. i've created a reverse lookup zone file and added an entry for it in my named.conf file. i've restarted the dns daemon and i don't have any errors in... (1 Reply)
Discussion started by: Westy564
1 Replies
3. UNIX for Dummies Questions & Answers
We have Unix configured as our external DNS, forward DNS is working properly, however Reverse lookup is not working. Any idea what the problem is? I have checked the named.boot and .rev file and everything seems to be correctly. However it appears that the reverse zone file in the named.boot... (2 Replies)
Discussion started by: cassy
2 Replies
4. IP Networking
Help having problems accesing various sites that require me to be a registered .gov domain. My IP is a registered as an .gov but my nameserver record has changed on my DNS configurartion(I don't know why) from something.gov to somethingelse.gov. Same IP, though.
When a reverse lookup is... (1 Reply)
Discussion started by: jpalmer320
1 Replies
5. UNIX for Advanced & Expert Users
Write a quick shell snippet to find all of the IPV4 IP addresses
in any and all of the files under /var/lib/output/*, ignoring
whatever else may be in those files. Perform a reverse lookup on
each, and format the output neatly, like "IP=192.168.0.1,
... (0 Replies)
Discussion started by: choco4202002
0 Replies
6. Shell Programming and Scripting
hey guys,
can anybody help me out here on the following:
grep '^\{1,3\}\.\{1,3\}\.\{1,3\}\.\{1,3\}$' ravi.txt mary.txt lisa.txt https://www.unix.com/images/misc/progress.gif
i.e what i did was found ip addreses from different files
and then i want... (1 Reply)
Discussion started by: ravis83
1 Replies
7. Shell Programming and Scripting
Hi,
I have log file name that shows the view name and some SQL statement time
stamp. I want to summarize the SQL time with view. Here is the simple example
Here the seqence is first it prints EventContext and all the SQL statement time and again EventContext. Want to summarize the time for... (5 Replies)
Discussion started by: ran123
5 Replies
8. IP Networking
The following thread is closed: 133552-howto-linux-multihomed-dns-client (Sorry I am not allowed to post URLs)
Therefore I write this append in an own thread.
The HOWTO in the referenced thread helped me a lot and I only want to append how to make reverse lookup working for a local zone:
... (0 Replies)
Discussion started by: scheruga
0 Replies
9. UNIX for Dummies Questions & Answers
I came back to my solaris 10 system after a week of being gone and xterm no longer work. I checked into it and the system doesn't reverse lookup my client system. There is a manual entry for my system in the /etc/hosts file and a forward lookup works fine, but I still can't get reverse lookup. Any... (0 Replies)
Discussion started by: clogan1981
0 Replies
10. Red Hat
Hi guys. Ok so let me lay out my configs. I can do a NSlookup from client to server BUT NOT a reverse lookup.
DNS server: Optimus.jaydomain.com
IP : 192.168.1.50
DNS Client: Megatron.jaydomain.com
IP : 192.168.1.60
On Sever:
# cat /etc/named.conf
//
// named.conf
//
// Provided... (4 Replies)
Discussion started by: Junaid Subhani
4 Replies
LEARN ABOUT DEBIAN
ares_parse_ptr_reply
ARES_PARSE_PTR_REPLY(3) Library Functions Manual ARES_PARSE_PTR_REPLY(3)
NAME
ares_parse_ptr_reply - Parse a reply to a DNS query of type PTR into a hostent
SYNOPSIS
#include <ares.h>
int ares_parse_ptr_reply(const unsigned char *abuf, int alen,
const void *addr, int addrlen, int family,
struct hostent **host);
DESCRIPTION
The ares_parse_ptr_reply function parses the response to a query of type PTR into a struct hostent. The parameters abuf and alen give the
contents of the response. The parameters addr, addrlen, and family specify which address was queried for; they are not used to verify the
response, merely used to fill in the address of the struct hostent. The resulting struct hostent is stored in allocated memory and a
pointer to it stored into the variable pointed to by host. It is the caller's responsibility to free the resulting host structure using
ares_free_hostent(3) when it is no longer needed.
RETURN VALUES
ares_parse_ptr_reply can return any of the following values:
ARES_SUCCESS The response was successfully parsed.
ARES_EBADRESP The response was malformatted.
ARES_ENODATA The response did not contain an answer to the query.
ARES_ENOMEM Memory was exhausted.
SEE ALSO
ares_gethostbyaddr(3), ares_free_hostent(3)
AUTHOR
Greg Hudson, MIT Information Systems
Copyright 1998 by the Massachusetts Institute of Technology.
25 July 1998 ARES_PARSE_PTR_REPLY(3)