nixCraft Linux Forum

nixCraft

Linux 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

Register FAQ Members List Calendar Mark Forums Read
  #1 (permalink)  
Old 05-27-2008, 06:47 AM
Junior Member
User
 
Join Date: Oct 2007
My distro: Red hat
Posts: 13
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
Sponsored Links
  #2 (permalink)  
Old 05-27-2008, 08:57 AM
nixcraft's Avatar
Never say die
User
 
Join Date: Jan 2005
Location: BIOS
My distro: Any distro with shell
Posts: 973
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 | My personal blog
Linux Evangelist
Play hard stay cool
Reply With Quote
  #3 (permalink)  
Old 05-27-2008, 01:20 PM
Junior Member
User
 
Join Date: Oct 2007
My distro: Red hat
Posts: 13
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

Bookmarks

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 On

Similar Threads

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


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


Powered by vBulletin® Version 3.7.3 - Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0

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