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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
02-16-2005, 01:33 PM
|
#1
|
Member
Registered: Feb 2005
Location: Romania
Distribution: Fedora 2
Posts: 38
Rep:
|
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 ?
|
|
|
02-16-2005, 04:41 PM
|
#2
|
LQ Guru
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522
Rep:
|
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
|
|
|
02-16-2005, 10:54 PM
|
#3
|
Member
Registered: Aug 2004
Location: Newmarket, Ontario
Distribution: OpenSuse 10.2
Posts: 184
Rep:
|
Look in the /etc/resolv.conf file of you client. Make sure it reads:
Code:
domain mydom
search mydom
nameserver server_ip_address
|
|
|
02-17-2005, 06:58 AM
|
#4
|
Member
Registered: Feb 2005
Location: Romania
Distribution: Fedora 2
Posts: 38
Original Poster
Rep:
|
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.
|
|
|
02-17-2005, 07:22 AM
|
#5
|
LQ Guru
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522
Rep:
|
i think u should try as suggested above
that can also work for u
regards
|
|
|
All times are GMT -5. The time now is 11:15 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|