LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-16-2005, 12:33 PM   #1
gecoool
Member
 
Registered: Feb 2005
Location: Romania
Distribution: Fedora 2
Posts: 38

Rep: Reputation: 15
Talking DNS problem


Hi everyone.

I am fairly newbie in linux. I tried to setup named (bind-9.2.3) on a small network, for testing and learning purposes only. I have a linux box with two network cards (2 subnets). I have no connection to internet. I want to configure the named to resolv the names from the two subnets. It seems that it works, but when I ping a machine with short name (i created a domain of mine mydom.) even the local machine (linux box) wouldn't respond, but if i ping with "fqdn" i.e mypc.mydom it works. I would like to figure out why my named doesn't resolves short names. Does it has anything to do with nmbd ?
 
Old 02-16-2005, 03:41 PM   #2
masand
LQ Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 69
hi there

if u can have a look at how DNS works then u can get answer to ur problem

also named works according to the config files that u have set

say for example
if u ping mail.yahoo.com and u might get a reply
but then can us say that why it cannot ping only machine with name "mail "

regards
 
Old 02-16-2005, 09:54 PM   #3
aznluvsmc
Member
 
Registered: Aug 2004
Location: Newmarket, Ontario
Distribution: OpenSuse 10.2
Posts: 184

Rep: Reputation: 30
Look in the /etc/resolv.conf file of you client. Make sure it reads:

Code:
domain mydom
search mydom
nameserver server_ip_address
 
Old 02-17-2005, 05:58 AM   #4
gecoool
Member
 
Registered: Feb 2005
Location: Romania
Distribution: Fedora 2
Posts: 38

Original Poster
Rep: Reputation: 15
First of all, thank you all ... As you probably know, every answer raises other questions. I read the DNS howto and stuff ... I didn't really meat such a situation like mine (no internet connection and root server to be mine as well). About pinging mail.yahoo.com I know what you mean, but when I say short name, i was thinking to something like netbios name or so (default output from command hostname). I will post my zone files and named.conf.
 
Old 02-17-2005, 06:22 AM   #5
masand
LQ Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 69
i think u should try as suggested above
that can also work for u


regards
 
  


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
DNS problem alvi2 Linux - Networking 3 05-13-2005 05:45 PM
DNS problem please help me bruse Linux - Networking 3 04-05-2005 06:59 AM
Possible DNS Problem? Hootah Linux - Networking 2 07-04-2004 02:12 PM
dns problem socket9001 Linux - Networking 1 06-12-2004 07:52 AM
problem with DNS bglad Linux - Networking 9 10-20-2003 05:39 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:50 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