LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 06-19-2006, 05:24 AM   #1
imagineers7
Member
 
Registered: Mar 2006
Distribution: BackTrack, RHEL, FC, CentOS, IPCop, Ubuntu, 64Studio, Elive, Dream Linux, Trix Box
Posts: 310

Rep: Reputation: 30
DNS under Attack? "lame server ..."


Hi everyone,

/var/log/messages says:-


Jun 19 05:17:48 shakti named[20003]: lame server resolving '242.212.149.202.ipwhois.rfc-ignorant.org' (in 'ipwhois.rfc-ignorant.ORG'?): 127.0.0.1#53
Jun 19 05:17:48 shakti named[20003]: lame server resolving 'rsginfotech.com' (in 'rsginfotech.com'?): 202.54.119.135#53


[root@shakti log]# grep "lame server resolving" messages | wc -l
49007
[root@shakti log]#


What urgent measures should I take?

Thanks in advance
 
Old 06-19-2006, 05:57 AM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
No attack. Nothing urgent. The remote DNS just doesn't resolve the name while it should (being authoritative and all that). Turn off by
echo -en "logging {\n\tcategory lame-servers {null; };\n};\n" >> ${CONFDIR:=/etc}/named.conf &&\
/etc/init.d/named reload

BTW, did you search LQ for this? I'm sure we've handled this before.

Last edited by unSpawn; 06-19-2006 at 06:00 AM.
 
Old 06-19-2006, 06:15 AM   #3
imagineers7
Member
 
Registered: Mar 2006
Distribution: BackTrack, RHEL, FC, CentOS, IPCop, Ubuntu, 64Studio, Elive, Dream Linux, Trix Box
Posts: 310

Original Poster
Rep: Reputation: 30
Hello Unspawn,

Thanks for that.
Sorry for I have not searched lq before posting.
But still I do have one more question.
I googled too much and found that there is a lot of controversial stuff on the Internet about lame server...

My DNS was working fine and properly before that and I have not made any changes with any other daemons so misconfiguration is out of question altogether.

We can remove the option of logging in those errors but still I do have some confusion because of different views in different articles


anyway, thanks for your help
 
Old 06-19-2006, 06:26 AM   #4
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
still I do have some confusion because of different views in different articles
Well, then post some article URI's I'd say.
 
Old 06-19-2006, 06:46 AM   #5
imagineers7
Member
 
Registered: Mar 2006
Distribution: BackTrack, RHEL, FC, CentOS, IPCop, Ubuntu, 64Studio, Elive, Dream Linux, Trix Box
Posts: 310

Original Poster
Rep: Reputation: 30
Thanks for your time UnSpawn,


This is same as that of you told me:-

http://www.rackaid.com/resources/tips/ensim-bind.cfm

Here is one more thread

http://forum.swsoft.com/showthread.p...fcignorant.org

And the confusion is in that why terminal junkie has blocked the addresses, and what role qmail or mail scanner has played.

http://www.redhat.com/archives/fedor.../msg05927.html

Hey, Can you help me digest these things?


Thanks again
 
Old 06-19-2006, 07:21 AM   #6
imagineers7
Member
 
Registered: Mar 2006
Distribution: BackTrack, RHEL, FC, CentOS, IPCop, Ubuntu, 64Studio, Elive, Dream Linux, Trix Box
Posts: 310

Original Poster
Rep: Reputation: 30
Hi again,

One more thing:-

what does that "127.0.0.1#53" thing in the logs mean?
Have I misconfigured something? (Which I dont seem to be as I have not made any changes since long back!)

 
Old 06-19-2006, 07:39 AM   #7
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
And the confusion is in that why terminal junkie has blocked the addresses, and what role qmail or mail scanner has played.
Well, basically it boils down to more of the same if you ask me. Something local relies on resolving a domain or hostname for something to work (like RBL's). Something somewhere else should resolve things (or isn't there anymore to resolve things) and that's what the errors is causing. Instead of fixing it the majority opts for the ostrich policy. Nothing controversial I can see. So in short:

cause: remote resolver issue
level: informative
threat: none
 
Old 06-19-2006, 09:23 AM   #8
imagineers7
Member
 
Registered: Mar 2006
Distribution: BackTrack, RHEL, FC, CentOS, IPCop, Ubuntu, 64Studio, Elive, Dream Linux, Trix Box
Posts: 310

Original Poster
Rep: Reputation: 30
Hi UnSpawn,

Thanks for the help, at last it got into this dumbhead .
Still, I need to know how come there are so many log entries that point out that 127.0.0.1 has querried so much.

Quote:
[root@shakti log]# grep " 127.0.0.1" messages |wc -l
15227
[root@shakti log]#
I am going to stop logging lame server (Ostrich Policy as you :coined: it)
 
Old 06-19-2006, 11:25 AM   #9
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
AFAIK because local apps use the local resolver. Localhost = 127.0.0.1.

Last edited by unSpawn; 06-19-2006 at 11:27 AM.
 
  


Reply



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
Apache Alias Returns 404 or "Cannot find server or DNS Error" The00Dustin Linux - Software 3 02-14-2006 12:44 PM
dns & apache server "need help installing" faustozabdi Linux - Software 1 01-03-2006 04:46 PM
"Following Bill Gates' Linux Attack Money" furfurdemon666 General 1 01-02-2006 01:11 PM
Preventing local users from "text flooding" a terminal (DoS attack)... khermans Linux - Security 2 09-24-2003 07:56 AM
BIND9 and "lame server" log entries?? ifm Linux - Networking 1 07-02-2002 11:09 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 07:44 PM.

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