08-26-2008
Reverse lookup
hey guys,
can anybody help me out here on the following:
grep '^[0-9]\{1,3\}\.[0-9]\{1,3\}\.[0-9]\{1,3\}\.[0-9]\{1,3\}$' ravi.txt mary.txt lisa.txt
i.e what i did was found ip addreses from different files
and then i want Perform a reverse lookup on each ip address and format it like "IP=192.168.0.1,hostname=poodle.google.com"??
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
I'm trying to create a reverse lookup file. Below are the error messages I get in the messages file, when I start named. Below the error messages is a copy of the reverse lookup file I'm trying to use. I'm using Bind version 8.1.2. Would someone recommend the correct values and if you see any... (2 Replies)
Discussion started by: Westy564
2 Replies
3. 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
4. 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
5. 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
6. 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
7. UNIX for Advanced & Expert Users
Originally I had the server at home and on Comcast so I used dyndns.org for DNS.
Once the server got a bit more popular, I leased a server at a colo facility. They set up the server name in their DNS so I didn't really have any reason to manage my own DNS. DynDNS was managing the domains and I... (7 Replies)
Discussion started by: BOFH
7 Replies
8. 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
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
c-icap
c-icap(8) System Manager's Manual c-icap(8)
NAME
c-icap - ICAP filtering server
SYNOPSIS
c-icap [ -f config-file ] [ -N ] [ -d debug-level ] [ -D ]
DESCRIPTION
c-icap is an implementation of an ICAP server. It can be used with HTTP proxies that support the ICAP protocol. Most of the comercial HTTP
proxies must support ICAP pcotocol.
OPTIONS
-f config-file
Specify the configuration file
-N Do not run as daemon
-d level
Specify the debug level
-D Print debug info to stdout
FILES
/etc/c-icap/c-icap.conf
The main configuration file
/etc/c-icap/c-icap.magic
In this file defined the types of files and the groups of file types.
/var/run/c-icap.pid
By default c-icap writes its pid in this file. The path of this file can changed using the PidFile configuration parameter in the c-
icap.conf file
/var/run/c-icap.ctl
The commands socket. This file used to send commands to the icap server from command line. For information about implemented com-
mands look below in the "Implemented commands" sub-section
NOTES
Implemented commands
Currently the following commands are implemented:
stop
The c-icap will shutdown
reconfigure
The service will reread the config file without the need to stop and restart the c-icap server. The services will be reinitialized
Services and modules can define their own commands.
Examples:
To reconfigure c-icap:
echo -n "reconfigure" > /var/run/c-icap.ctl
Lookup tables
Lookup tables are simple read-only databases. A lookup table can defined in c-icap.conf file using the form:
type:path
where the type is the type of lookup table and path is the extra information required to use the table (e.g. file path). Currently the fol-
lowing lookup table types defined internally by c-icap:
file Simple text file databases. The database records are stored in text files in the form:
key[: value1, value2 ...]
example path definition:
file:/path/to/the/file.txt
hash Similar to file lookup tables but c-icap uses fast hashes for searching.
example path definition:
hash:/path/to/the/file.txt
regex Similar to the file lookup tables but the keys are regular expressions in the form /regex/flags where flags are 'i' to ignore case
or nothing.
example regex lookup table data:
/^[a-m].*/i: group1
/^[n-z].*/i: group2
example path definition:
regex:/path/to/the/file.txt
Runtime information
Someone can retrieve runtime information using the info service. The information includes bytes received and transmited, active services,
information about service usage and many other. The information provided in HTML and text format.
Example:
Retrieve runtime information from command line:
c-icap-client -i localhost -s "info?view=text" -req "a_url"
SEE ALSO
c-icap-client(8) c-icap-stretch(8) c-icap-config(8) c-icap-libicapapi-config(8) c-icap-mkbdb(8)
BUGS
Many...
AUTHOR
Tsantilas Christos
c_icap 0.1.6 c-icap(8)