LinuxQuestions.org
Register a domain and help support LQ
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 11-25-2008, 07:32 AM   #1
Mr. ameya sathe
Member
 
Registered: Jul 2007
Distribution: RedHat Enterprise 5 Server Edition; Ubuntu 8.04 ; RHCE Certificate number: 805008741034103
Posts: 78
Blog Entries: 7

Rep: Reputation: Disabled
Question Able to ftp anonymously to server1.example.com inspite of incorrect /etc/resolv.conf


O.S. : RedHat Enterprise Linux 5
The network is as follows:
example.com 192.168.0.0/24
server1.example.com 192.168.0.254
1. ftp service is configured to accept anonymous logins.
2. The file /etc/resolv.conf contained the following entries...

Code:
search example.com
nameserver 192.168.10.254
3. /etc/host.conf contained the following entries
Code:
order hosts,bind
4. /etc/hosts contained the following code
Code:
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1       localhost.localdomain  localhost
::1     localhost6.localdomain6 localhost6
Now; according to my logic...I should not be able to ftp anonymously to server1.example.com because of the incorrect entry in /etc/resolv.conf.

But; still I can ftp anonymously to server1.example.com
 
Old 11-26-2008, 02:39 AM   #2
datopdog
Member
 
Registered: Feb 2008
Location: JHB South Africa
Distribution: Centos, Kubuntu, Cross LFS, OpenSolaris
Posts: 806

Rep: Reputation: 41
Use this
Code:
host -v server1.example.com
determine how it is resolving the name, it could be cached using nscd
 
Old 12-20-2008, 02:27 AM   #3
Mr. ameya sathe
Member
 
Registered: Jul 2007
Distribution: RedHat Enterprise 5 Server Edition; Ubuntu 8.04 ; RHCE Certificate number: 805008741034103
Posts: 78
Blog Entries: 7

Original Poster
Rep: Reputation: Disabled
Arrow

Quote:
Originally Posted by datopdog View Post
Use this
Code:
host -v server1.example.com
determine how it is resolving the name, it could be cached using nscd
This is the output of above command.

Trying "server1.example.com"
Host server1.example.com not found
 
  


Reply

Tags
anonymous, ftp, resolvconf


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
about resolv.conf kpachopoulos Linux - Newbie 2 03-03-2008 03:26 PM
/etc/resolv.conf lordra Red Hat 1 05-05-2006 07:54 AM
DNS Hosts.conf or resolv.conf problem mac_casey Suse/Novell 0 03-26-2006 10:21 AM
/etc/resolv.conf mustangfanatic Suse/Novell 5 10-18-2004 10:28 PM
resolv.conf Culbert Linux - Networking 8 03-20-2003 05:11 PM


All times are GMT -5. The time now is 05:21 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration