here is the bind source file for the client.c
in bind9 logs are written in var/log/file name in the form
02-Aug-2012 15:43:12.713 client 192.168.2.4#47512: query: 209.236.125.74.in-addr.arpa IN PTR + (192.168.2.4)
i am in a subnet of 10 systems through 192.168.2.1..10 i want to write logs based on the ip address in the files in the format filename.ipadress
there is a function called isc_log_write which is responsible for logging can any one help me know the behaviour of isc_log_write in client.c attached file
how is it writing the logsi have added a plugin in bind9 source which gets the ip address from the output string now in the final string.based on this ip i need to append it to filename( if my file name is named_querylog then the cooresponding logs of the ip will be in the file name as named_query.log.192.168.132.1
so i need to find out the behaviour of isc_log_write can you help me find out what is happening in this function?
what context it passes to log_write in the case where it logs peerbuf?
i am using bind 9.7.3 please reply its really important?
Hello,
I have a question about dns file zone.
Every zone file begins like:
@ 86400 IN SOA ns1.website.com. admin@website.com. (
It means that name server ns1 is responsible for this zone.
At the ending I can add the records like
mysite.com IN A 1.2.3.4
So it will... (2 Replies)
int bind(int socket, const struct sockaddr *address,
socklen_t address_len);
Man page says it specifies the length of the sockaddr structure pointed to by the address argument.
But why bind() can't figure out the length itself, since the first member (eg:AF_INET or... (4 Replies)
Hi,
When I use the ldapadd command I get this error.
ldap_simple_bind: Conidentiality required
ldap_simple_bind: additional info: confidentiality required
I was able to use this command and the ldapsearch command yesterday just fine. I think I may have made a change to a file, but I don't... (2 Replies)
I have problems with a simple BIND configuration in CentOS. I have a static public IP 1.1.1.1 and I recently bought a domain name gigi.com. I just want that gigi.com points to 1.1.1.1 (Apache Web Server).
This is how my named.conf file looks:
options {
directory "/var/named";
};
... (0 Replies)
Hello friends
Internet query not working anymore with bind , i am not using forwarder dns server .
1.
resolv.conf file =>
search local.server
nameserver 127.0.0.1
2.
named.conf file =>
//
// named.conf
//
// Provided by Red Hat bind package to configure the ISC BIND named(8) DNS... (8 Replies)
I know how to manage DNS once it's installed. I can edit named.conf and create zone files. I can sign the zones, use TSIG, etc.
How do I take the BIND 9.9 tar ball from All Downloads | Internet Systems Consortium and install it and get it to work?
Maybe I am not getting it.
Can... (0 Replies)
When you get the message can't bind to ip already in use.
is there a command to search to see everything that is using that IP?
I've already check the host and hostname files (2 Replies)
Hi All
I need to do bind of exiting filesystem to new storage allocated
mount --bind /prod/OpenCSS /var/lib/test
echo "/prod/OpenCSS /var/lib/pgsql bind bind 0 0" >> /etc/fstab
will this command just work ? (2 Replies)