nixCraft Linux Forum

nixCraft

Linux / UNIX Tech Support Forum

dns resolution problem

This is a discussion on dns resolution problem within the Networking, Firewalls and Security forums, part of the Mastering Servers category; I am connected to a server which provides internet connectivity. I have installed rhel 5 on my machine. I have ...


Go Back   nixCraft Linux Forum > Mastering Servers > Networking, Firewalls and Security

Linux answers from nixCraft.


Networking, Firewalls and Security No it's not a secret. Talk about firewalls and security issues.

Reply

 

LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 27-05-2008, 06:47 AM
Junior Member
User
 
Join Date: Oct 2007
OS: Red hat
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
meenal is on a distinguished road
Default dns resolution problem

I am connected to a server which provides internet connectivity.
I have installed rhel 5 on my machine. I have installed bind rpms on my machine,
I have not configured it. my /etc/resolv.conf is empty. No zone is defined in /var/named/chroot/var/named.conmf.
Then also, when I start named service, my machine can resolve any outside ip address or name.
eg. hjost yahoo.com gives yahoo's ip and vice versa. Why this is happening ?
I am able to access any internet site without setting proxy port in my browser. when named is stopped, this does not happen.
pls. guide me.
Reply With Quote
  #2 (permalink)  
Old 27-05-2008, 08:57 AM
nixcraft's Avatar
Never say die
User
 
Join Date: Jan 2005
Location: BIOS
OS: RHEL
Scripting language: Bash and Python
Posts: 2,710
Thanks: 11
Thanked 245 Times in 184 Posts
Rep Power: 10
nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute
Default

You must have enabled DHCP to obtain all the information. BIND is used as dns name server i.e. it serves zone data. For name resolution you only need to configure /etc/resolv.conf file using static or dhcp mode.
__________________
Vivek Gite
Linux Evangelist
Be proud RHEL user, and let the world know about your enterprise choices! Join RedHat user group.
Always use CODE tags for posting system output and commands!
Do you run a Linux? Let's face it, you need help
Reply With Quote
  #3 (permalink)  
Old 27-05-2008, 01:20 PM
Junior Member
User
 
Join Date: Oct 2007
OS: Red hat
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
meenal is on a distinguished road
Default

that is the problem with me. i have not entered anything in my resolv.conf file. then , how my machine is producing the right ip for yahoo.com by host command ? and also vice versa.
the server providing internet acces to us has following ports open as shown by nmap command.

22,23,25,53,80,110,113,139,143,389,443,515,548,312 8,980,981.

is that due to masquerading on the server ?
Reply With Quote
Reply

Tags
dns , linux , redhat , resolv.conf


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads

Thread Thread Starter Forum Replies Last Post
Linux Configure Name Resolution raj Networking, Firewalls and Security 1 28-03-2008 09:19 AM
OpenBSD configure change DNS name server IP address - DNS Client Resolution rockdalinux Getting started tutorials 0 15-06-2007 10:14 PM
BIND Name resolution kasimani Linux software 1 06-10-2006 12:42 AM


All times are GMT +5.5. The time now is 04:51 AM.


Powered by vBulletin® Version 3.8.5 - Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.2
©2005-2010 nixCraft. All rights reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38