LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 05-23-2011, 02:51 PM   #1
aspiring_stellar
LQ Newbie
 
Registered: May 2011
Distribution: Fedora, ubuntu
Posts: 18

Rep: Reputation: Disabled
setting up LAN


Hi all,
I am new to networking and trying to setup my own local area network using virtual box machines.
I have installed BIND 9.7.3 using yum in Fedora (dns server) and created all necessary .conf and zone files. I am successfully able to resolve domain names on this host machine (dns server).

for example dig @dns.domain.lan client1.domain.lan correctly resolves domain name.

Code:
; <<>> DiG 9.8.0-P1 <<>> @dns.domain.lan client1.domain.lan
; (1 server found)
;; global options: +cmd
;; Got answer:

;; ANSWER SECTION:
client1.domain.lan.	86400	IN	A	10.0.0.12
but when I try to do the same from other (client) machine it gives

Code:
; <<>> DiG 9.7.3 <<>> @10.0.0.13 client1.domain.lan
; (1 server found)
;; global options: +cmd
;; connection timed out; no servers could be reached
Also, I don't understand the difference in BIND version details that is reflected in 2 cases ; <<>> DiG 9.7.3 and <<>> DiG 9.8.0-P1

At first I had installed BIND 9.8.0 from source on the dns server machine but later on removed it using yum remove bind-9.8.0 as i could not locate some of the files for BIND configuration. So i installed 9.7 using yum install bind9 and configured it to use as dns server.
I don't know why this 9.8 version thing pops up when I have uninstalled it. I have also tried to locate its associated files using locate bind-9.8.* command but found none.

Also named -v gives BIND 9.8.0 -- don't know why when I have 9.7 version installed.
Please help on the above issues.

Thanks.
 
Old 05-23-2011, 08:05 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
Are all clients running the same version of Fedora?

And what's the networking set-up to be on the client that
can't resolve names?


Cheers,
Tink
 
Old 05-24-2011, 08:51 AM   #3
aspiring_stellar
LQ Newbie
 
Registered: May 2011
Distribution: Fedora, ubuntu
Posts: 18

Original Poster
Rep: Reputation: Disabled
Quote:
Are all clients running the same version of Fedora?
No, my client machine is Ubuntu 11.04
network setup of client:
static ip 10.0.0.12
with dns server address 10.0.0.13 (the Fedora-14 dns server)

/etc/resolv.conf reads
nameserver 10.0.0.13
 
Old 05-24-2011, 01:50 PM   #4
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
And basic networking w/ the two works? iptables on fedora isn't
blocking the ubunut machine's requests?
 
1 members found this post helpful.
Old 05-24-2011, 04:06 PM   #5
aspiring_stellar
LQ Newbie
 
Registered: May 2011
Distribution: Fedora, ubuntu
Posts: 18

Original Poster
Rep: Reputation: Disabled
yes, iptables was the whole culprit!.
But I still can't figure out that version discrepancy. Anyways after fixing iptables, everything is working fine now.

Thanks a lot for help.
 
Old 05-24-2011, 04:59 PM   #6
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
Well ... the client tools on fedora don't need to match the
ones on Ubunut ... easy as that :}

Last edited by Tinkster; 05-24-2011 at 05:27 PM.
 
  


Reply


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
Setting up a simple, LAN-to-LAN router Phaethar Linux - Networking 3 09-09-2010 05:33 AM
Setting up LAN theblaze Linux - Networking 6 06-27-2006 04:13 AM
setting up lan impeteperry Ubuntu 1 11-18-2005 10:05 PM
Setting up a LAN RagingIfrit Linux - Software 8 07-03-2004 11:19 PM
setting up lan futard Linux - Networking 5 06-20-2001 12:17 AM


All times are GMT -5. The time now is 01:04 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration