November 22, 2024, 05:42:50 PM

News : LinuxSolved.com Linux Help Community Forum..


Author Topic: Configuring DNS server for LAN (caching nameserver bind)  (Read 8602 times)

Offline tuxi

  • Linux Noob !
  • *
  • Posts: 20
Configuring DNS server for LAN (caching nameserver bind)
« on: February 20, 2004, 05:42:23 PM »
Hi.
I am having a small Lan. Now when installing my RH9 I installed Bind also. Now I have a redhat gui utility to set domain name. I don't know how to set it up. Can any one tell me that now i have bind installed then wht is the next step so that i can use it nameserver for my lan which can also resolve internet name for my lan and uses my ISP's nameserver as its parent namesrver.. ie. I have heard something caching nameserver so how can i make it caching nameserver for my LAn. I want this to improve internet performace of my LAN.
Thank you!.

Offline dragoncity99

  • LST CareTaker
  • Experienced
  • *****
  • Posts: 551
Configuring DNS server for LAN (caching nameserver bind)
« Reply #1 on: February 21, 2004, 02:16:11 PM »
Check this site, it's very easy and direct forward.
linuxhomenetworking.com/linux-hn/dns-static.htm

Offline equbal

  • New Member
  • Posts: 1
know for cashing
« Reply #2 on: July 29, 2004, 07:13:50 AM »
Hi.
I am having a small Lan. Now when installing my RH9 I installed Bind also. Now I have a redhat gui utility to set domain name. I don't know how to set it up. Can any one tell me that now i have bind installed then wht is the next step so that i can use it nameserver for my lan which can also resolve internet name for my lan and uses my ISP's nameserver as its parent namesrver.. ie. I have heard something caching nameserver so how can i make it caching nameserver for my LAn. I want this to improve internet performace of my LAN.
Thank you!.[/b]

Offline Ricky

  • LST CareTaker
  • Specially Skilled
  • *****
  • Posts: 2381
Configuring DNS server for LAN (caching nameserver bind)
« Reply #3 on: July 29, 2004, 12:09:20 PM »
that is so simple..

Simply make sure bind is running and then in /etc/resolv.conf add entry  
Code: [Select]
nameserver 127.0.0.1
Now point your clients to use your that linux box as DNS by giving that machine's IP as Domain name server and you are done as caching name server.

PS: During REdhat installatin it ask for required files to caching namerserver to be installed or not. if installed above steps will work and if not then you can install those packages easily from Redhat's insllation cd. named as caching-nameserver.rpm or something.. not exactly sure about name.

BTW in above setup your machine will use your ISP's DNS and then it will cache DNS record , next it will serve it from your machine itself. :)