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

Notices


Reply
  Search this Thread
Old 01-06-2012, 11:52 AM   #1
PlymWS
Member
 
Registered: Aug 2006
Posts: 51

Rep: Reputation: 16
Strange entries in /var/log/messages


I've recently changed my server control panel to Webmin and my /var/log/messages is filling up with hundreds of entries like this :

Code:
named[1977]: client 95.108.156.1#5335: query (cache) 'game-ion.com/A/IN' denied
named[1977]: client 95.108.158.130#5335: query (cache) 'ns1.game-ion.com/AAAA/IN' denied
named[1977]: client 95.108.156.1#5335: query (cache) 'game-ion.com/A/IN' denied
named[1977]: client 95.108.158.130#5335: query (cache) 'ns2.game-ion.com/AAAA/IN' denied
named[1977]: client 95.108.158.130#5335: query (cache) 'ns1.game-ion.com/AAAA/IN' denied
named[1977]: client 95.108.156.1#5335: query (cache) 'ns1.game-ion.com/AAAA/IN' denied
named[1977]: client 95.108.158.130#5335: query (cache) 'ns2.game-ion.com/AAAA/IN' denied
named[1977]: client 95.108.156.1#5335: query (cache) 'ns2.game-ion.com/AAAA/IN' denied
named[1977]: client 95.108.156.1#5335: query (cache) 'ns1.game-ion.com/AAAA/IN' denied
named[1977]: client 95.108.156.1#5335: query (cache) 'ns2.game-ion.com/AAAA/IN' denied
I've not seen these before so a) should I be worried and b) can I block the requests via iptables or similar or should I just let the log file fill up ? The IP address changes from time to time so I would need to block using a string rather than just deny the IP address. I'm using CentOS 5.7

Last edited by PlymWS; 01-06-2012 at 11:53 AM.
 
Old 01-06-2012, 01:41 PM   #2
T3RM1NVT0R
Senior Member
 
Registered: Dec 2010
Location: Internet
Distribution: Linux Mint, SLES, CentOS, Red Hat
Posts: 2,385

Rep: Reputation: 477Reputation: 477Reputation: 477Reputation: 477Reputation: 477
@ Reply

Hi PlymWS,

Questions for you:

1. Is this your public DNS server?
2. Is your DNS server is configured to perform recursive queries?
3. Did you change anything else other than the change related to Webmin.
4. How frequently do you see these messages.
5. Are they from specific IP range or from different IP range.
 
Old 01-06-2012, 01:59 PM   #3
lithos
Senior Member
 
Registered: Jan 2010
Location: SI : 45.9531, 15.4894
Distribution: CentOS, OpenNA/Trustix, testing desktop openSuse 12.1 /Cinnamon/KDE4.8
Posts: 1,144

Rep: Reputation: 217Reputation: 217Reputation: 217
Quote:
Originally Posted by PlymWS View Post
Code:
named[1977]: client 95.108.156.1#5335: query (cache) 'game-ion.com/A/IN' denied
named[1977]: client 95.108.158.130#5335: query (cache) 'ns1.game-ion.com/AAAA/IN' denied
named[1977]: client 95.108.156.1#5335: query (cache) 'game-ion.com/A/IN' denied
named[1977]: client 95.108.158.130#5335: query (cache) 'ns2.game-ion.com/AAAA/IN' denied
named[1977]: client 95.108.158.130#5335: query (cache) 'ns1.game-ion.com/AAAA/IN' denied
named[1977]: client 95.108.156.1#5335: query (cache) 'ns1.game-ion.com/AAAA/IN' denied
named[1977]: client 95.108.158.130#5335: query (cache) 'ns2.game-ion.com/AAAA/IN' denied
named[1977]: client 95.108.156.1#5335: query (cache) 'ns2.game-ion.com/AAAA/IN' denied
named[1977]: client 95.108.156.1#5335: query (cache) 'ns1.game-ion.com/AAAA/IN' denied
named[1977]: client 95.108.156.1#5335: query (cache) 'ns2.game-ion.com/AAAA/IN' denied
I don't think it's much to worry about unless your server is a 'public' DNS server
It's just telling you that "client 95.108.156.1" wanted to use your DNS to get the "ns1.game-ion.com" and "ns2.game-ion.com" domain information (IP addr, etc.).
So if your server is Master for this domain and public, then it's something wrong configured (your /var/named.conf file) not allowing to see domain information.

Last edited by lithos; 01-06-2012 at 02:00 PM.
 
Old 01-07-2012, 05:36 AM   #4
PlymWS
Member
 
Registered: Aug 2006
Posts: 51

Original Poster
Rep: Reputation: 16
Thanks for your replies.

To answer the questions I did an install of Webmin & Virtualmin on a clean CentOS 5.7 install and then simply set a website up. Everything else is standard as Webmin installs it which is why I was a little concerned seeing these messages.

The messages were appearing every minute or two and didn't come from a specific IP range they were all over the place, with some even linking back to a block of IPs that reverse DNS back to Microsoft.

I've stopped the named service which has, obviously, stopped the messages but I would like a "better" solution to this tbh.
 
Old 01-07-2012, 06:34 AM   #5
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Quote:
Originally Posted by PlymWS View Post
I've stopped the named service which has, obviously, stopped the messages but I would like a "better" solution to this tbh.
* First of all please realize that running a web-based management panel is purely convenience: it will never replace theoretical knowledge and practical admin experience.
- You don't need to run a DNS server unless you handle being authoritative one for one or more domains yourself. (And if you are also please understand what you are running, know a PTR from an A or AAAA record, invest in hardening and consider running two slaves in independent networks for redundancy reasons.)
- If you run a DNS server for caching responses only it should not be publicly accessible.

In your BIND configuration file, in the logging section, add a line "category lame-servers { null; };" and restart BIND to see if lame delegation messages disappear:

Code:
logging {
category lame-servers { null; };
};
 
  


Reply


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
/var/log/messages FULL w/ dhclient entries itsecx@gmail.com Linux - Networking 2 08-26-2010 07:52 AM
Duplicate entries in /var/log/messages stan da ork Red Hat 2 10-29-2008 09:20 AM
Are these entries a problem in my /var/log/messages jim.thornton Linux - Server 4 02-08-2008 08:16 AM
New Entries in /var/log/messages sathyguy Linux - Security 3 04-26-2006 05:36 AM
/var/log/messages weird entries blizunt7 Linux - Security 5 11-01-2005 05:56 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 12:38 AM.

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