DNS on LAN


 
Thread Tools Search this Thread
Special Forums IP Networking DNS on LAN
# 1  
Old 08-23-2008
DNS on LAN

Hi all.
I am trying to use BIND9 as DNS server. All goes well, except that i can't lookup my relative LAN hostnames instead of full domain names.
F.e. i can lookup
host hostname.subdomain.domain
but can't
host hostname

This is my master zone file
---------------------
$TTL 3h
stub.saburovo.com. IN SOA solaravm.stub.saburovo.com. root.localhost. (
5
3h
1h
1w
1h )

stub.saburovo.com. IN NS solaravm.stub.saburovo.com.


localhost IN A 127.0.0.1
solaravm IN A 192.168.1.4
rhelvm IN A 192.168.1.5
bsdvm IN A 192.168.1.6
-------------------

so
host solaravm.stub.saburovo.com
work well
but
host solaravm
didn't

if i add CNAME statement like that
solaravm IN CNAME soalaravm.stub.saburovo.com.

i have error
zone stub.saburovo.com/IN: loading master file db.stub.saburovo.com: CNAME and other data
# 2  
Old 08-23-2008
This is a client configuration thing. Set up the clients to supply the default domain name on unqualified queries. In /etc/resolv.conf the search directive specifies the default domain(s) to search in. In Windoze, it's a box in the same tab where you specify whether to use DHCP or static IP addresses somewhere in the network settings. (Sorry, don't have a Windoze box. Actually not sorry at all.)
# 3  
Old 08-24-2008
Yea. I added domain to resolv.conf with this line
domain stub.saburovo.com

and all goes well

Thanks, era.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

DNS client added to DNS server but not working

Hi, We have built a new server (RHEL VM)and added that IP/hostname into dns zone configs file on DNS server (Solaris 10). Reloaded the configuration using and added nameserver into resolv.conf on client. But when I am trying nslookup, its not getting resolved. The nameserver is not able to... (8 Replies)
Discussion started by: snchaudhari2
8 Replies

2. Red Hat

DHCP & DNS - Clients get IP but don't register in DNS

I am trying to setup a CentOS 6.2 server that will be doing 3 things DHCP, DNS & Samba for a very small office (2 users). The idea being this will replace a very old Win2k server. The users are all windows based clients so only the server will be Linux based. I've installed CentOS 6.2 with... (4 Replies)
Discussion started by: FireBIade
4 Replies

3. Red Hat

DNS A-Record point to another DNS

Hi, I have a question on how to point the DNS server-1's A-record to second DNS server, which is DNS server-2. So, the computer can access other domain which only listed in the DNS server-2. The scenario is as follow: http://img689.imageshack.us/img689/6333/12234.png How to configure this... (4 Replies)
Discussion started by: Paris Heng
4 Replies

4. Red Hat

Different hostnames with reboot while lan cable, no lan cable

I am facing strange problem regarding hostname on my Linux(2.6.18-164.el5xen x86_64 GNU/Linux), the hostname changes if reboot with lan cable and with NO lan cable Reboot with lan cable: The hostname is ubunut Unable to connect Oracle database using sqlplus some times database is not... (2 Replies)
Discussion started by: LinuxLearner
2 Replies

5. UNIX for Advanced & Expert Users

DNS server choice: Windows DNS vs Linux BIND

I'd like to get some opnions on choosing DNS server: Windows DNS vs Linux BIND comparrsion: 1) managment, easy of use 2) Security 3) features 4) peformance 5) ?? I personally prefer Windows DNS server for management, it supports GUI and command line. But I am not sure about security... (2 Replies)
Discussion started by: honglus
2 Replies

6. IP Networking

Local Lan, no-ip directed DNS forward, surf within lan

Hi, We have a website running on a local centos 5.4 surfer, static IP. The domain.com uses no-ip.com to take care of the DNS, it forwards all to my server. My router receives the port 80 call, routes it to my server and the world can see domain.com perfectly fine. However, we cannot see... (3 Replies)
Discussion started by: lawstudent
3 Replies

7. IP Networking

lan DNS and telnet and GNS

hi i am stuck middle of this configuration.plz help me outta it. /../chroot/etc/named.conf // Enterprise Linux BIND Configuration Tool // // Default initial "Caching Only" name server configuration // options { directory "/var/named"; dump-file... (0 Replies)
Discussion started by: csayantan
0 Replies

8. IP Networking

LAN server - Proxy, DNS, WEB - I'm lost!!!

Ok! I started to do something and I got lost...and crazy! I got MW2000S gateway device that provides wireless internet access! It is configured to work as NAT. Clients connect to MW and have access to internet and it works beautifully! And now! In the same network I have Ubuntu machine. First I... (0 Replies)
Discussion started by: salvor_hardin
0 Replies

9. Solaris

Solaris DNS Client For Microsoft DNS Server

hey guys, how to add soalris box as a microsoft DNS Client ? and how to register in the microsoft DNS ?? i managed to query from the DNS server after adding /etc/resolve.conf and editing /etc/nsswitch.conf but i need to register the soalris server (dns Client) into Microsoft DNS automatically.... (3 Replies)
Discussion started by: mduweik
3 Replies

10. Solaris

How to configure private LAN and coporate LAN on the same machine-Solaris10

Hi , I am trying to configure a private LAN and corporate LAN on the same machien on Solaris 10. How can I achieve this? Thanks (1 Reply)
Discussion started by: deedee
1 Replies
Login or Register to Ask a Question