Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 12-17-2006, 07:04 PM   #1
LQ Newbie
Registered: Dec 2006
Posts: 11

Rep: Reputation: 0
Trouble with LAN nameserver...


This is my first post, so feel free to laugh at me wile I'm still new and dumb :P .

My problem is that my local nameserver sometimes fail to respond to lookups in the local name zone. I've set up a number of domain names on my local network under the TLD .lan to avoid using ip's when accessing the machines. When it's been a while (more than one hour) since the last time I requested a .lan domain the first lookup always fails. This is usually when I try to send an email and the email client fails to connect to server.lan. Subsequent lookups work fine, but due to the DNS cache, server.lan will not be accessible until the cache expires.

I have the following network setup: I have three computers (one server and two clients) connected to an integrated router/switch/access-point (the gateway). The gateway has ip and the server has The gateway provides DHCP for the network and assigns permanently allocated addresses to all recognized clients based on MAC address. The gateway also provides DNS forwarding which means that all clients have as their DNS server. The gateway is in turn set up to forward DNS requests to

The server runs Slackware and Bind 9.3.1 with the following zone files:
; lan zone file

$ORIGIN lan.

@ IN SOA dns.lan. root (
2006120801 ; serial
6H ; refresh
1H ; retry
1W ; expire
1D ) ; mimimum TTL

IN NS dns.lan.

gateway IN A
johanna IN A
zara IN A
server IN A

dns CNAME server

www.server CNAME server
www.gateway CNAME gateway

; Revp for lan


@ IN SOA lan. root.lan. (
2006051903 ; Serial
8H ; Refresh
4H ; Retry
1W ; Expire
1D ) ; TTL Minimum

IN NS lan.

1 IN PTR gateway.lan.
10 IN PTR johanna.lan.
20 IN PTR zara.lan.
200 IN PTR server.lan.

It is worth noting that I never had problems with lookups on other TLD's than .lan...

Anyone got any clue???

Thankful for any help,

Yours Sincerely,

Old 12-18-2006, 03:03 AM   #2
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976
please do not post deliberately to bump your post count. it is not appreciated.


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
Trouble with new installed lan adapter fara78 Linux - Networking 3 05-17-2006 03:46 AM
Lan card trouble ur-unholyness Linux - Newbie 6 04-10-2005 11:59 AM
A7N8X-E Mainboard and lan trouble Xerop Linux - Hardware 2 05-09-2004 10:32 PM
Red Hat 9 and LAN trouble capetech Linux - Networking 9 08-21-2003 06:26 PM
having trouble with wireless lan evian Linux - Hardware 0 03-16-2003 04:42 PM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 05:33 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration