LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   setting up LAN (https://www.linuxquestions.org/questions/linux-newbie-8/setting-up-lan-882317/)

aspiring_stellar 05-23-2011 01:51 PM

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.

Tinkster 05-23-2011 07:05 PM

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

aspiring_stellar 05-24-2011 07:51 AM

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

Tinkster 05-24-2011 12:50 PM

And basic networking w/ the two works? iptables on fedora isn't
blocking the ubunut machine's requests?

aspiring_stellar 05-24-2011 03:06 PM

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.

Tinkster 05-24-2011 03:59 PM

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


All times are GMT -5. The time now is 06:07 AM.