Re: Error when start named

2011-06-25 Thread Eivind Olsen
Rodrigo Faria Tavares wrote:

> Error in named configuration:
> /etc/named.rfc1912.zones:10: zone '.': already exists previous
> definition: /etc/named.conf:35
> How I can resolve it ?

By fixing your configuration. The error message seems clear enough, so
check what you have in /etc/named.rfc1912.zones around line 10, and in
/etc/named.conf around line 35. The error message suggests you have
defined the root zone "." twice.

Regards
Eivind Olsen


___
Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe 
from this list

bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users


Error when start named

2011-06-25 Thread Rodrigo Faria Tavares
Hello,

I try start named, come this error.

root@localhost chroot]# /etc/init.d/named start
Starting named: 
Error in named configuration:
/etc/named.rfc1912.zones:10: zone '.': already exists previous
definition: /etc/named.conf:35
   [FAIL]

How I can resolve it ?

Rodrigo Faria



___
Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe 
from this list

bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users


Re: Logging Response Results

2011-06-25 Thread Mats Dufberg

The .SE Registry has created a solution that stores queries and answers.



PacketQ (replaces DNS2DB)

PacketQ is a tool for analyzing PCAP-data, if can work with any packets 
but is designed primarily for DNS and ICMP-traffic. PacketQ reads, 
filters and groups the packets read from the PCAP-files using standard 
SQL-queries. The tool is built in C for performance and portability. The 
distribution also includes a simple interactive GUI for analyzing the 
collected data.


http://github.com/dotse/packetq




Stefan Certic skrev 2011-06-23 22:27:

Thanks Chuck

Yes, that would be a solution, but i need logs processed through syslog and
stored into database (matching the initial query from query log).

Pharsing tcpdump is not going to be suitable for highly loaded system. I was
more looking for a solution to log responses same way queryes are logged.

Regards,

On Thursday, June 23, 2011 09:44:46 pm Chuck Swiger wrote:

On Jun 23, 2011, at 12:16 PM, Stefan Certic wrote:

Does anyone have idea on following... Apart from bind9 query log, is it
possible to log response returned to client?


Sure: use tcpdump, wireshark, or another network sniffer of your choice and
observe DNS responses to the clients you're interested in.  (Whether this
is better than using query logging is another question entirely.)

Regards,




___
Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe 
from this list

bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users


Re: zone Statistics need to be collected for BIND name server

2011-06-25 Thread jkrejci
Did you try running "rndc stats" on the server?


Sent via BlackBerry from T-Mobile

-Original Message-
From: Parashar Singh 
Sender: bind-users-bounces+jkrejci=usinternet@lists.isc.org
Date: Sat, 25 Jun 2011 13:19:14 
To: 
Subject: zone Statistics need to be collected for BIND name server

___
Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe 
from this list

bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users
___
Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe 
from this list

bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users


zone Statistics need to be collected for BIND name server

2011-06-25 Thread Parashar Singh
I have BIND 9 server running in Debian Linux. I want to collect statistics
for which zone has been quried how many times (Success & Failure). Due to
some reason, loggin has not been enabled in named.conf file. I have added
statistics-file "named.stats"; under options section of named.conf file. I
have created named.stats file under same directory. Restarted named daemon
with following command:
/etc/init.d/bind9 restart

Please note all of above operations I have performed as root user.
But still, named.stats file is not accumulating any data.
Can anyone extend his/her support in this.
Please let me know if you need any further information on this.

Thanks in Advance.

Parashar Singh
___
Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe 
from this list

bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users