Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
12-23-2007, 07:59 PM
|
#1
|
Member
Registered: Jul 2006
Location: Louisville, KY
Distribution: Fedora 12, Slackware, Debian, Ubuntu Karmic, FreeBSD 7.1
Posts: 443
Rep:
|
Local DNS configured through /etc/hosts
I was having a conversation with one of my co-workers about setting up my local LAN in such a way that my FC4 box is a local DNS server for the other boxes on my network. He suggested a program which shares the entries in /etc/hosts, making them available to any box on the network.
For example, lets say that my /etc/hosts looks like this:
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 localhost.localdomain localhost
192.168.1.98 baz.localdomain baz
192.168.1.99 bar.localdomain bar
My FC4 box is baz. Any other box on my network would then be able to use 192.168.1.98 as its DNS server, and resolve 'bar', 'bar.localdomain', 'baz' or 'baz.localdomain'.
My only problem is that I can't remember what the name of this program is .
|
|
|
12-23-2007, 08:10 PM
|
#2
|
Moderator
Registered: May 2001
Posts: 29,415
|
Pdnsd, a caching DNS server with a persistent (reboot surviving) cache, allows you to load /etc/hosts(like) files and serve them as DNS records.
|
|
|
12-23-2007, 10:38 PM
|
#3
|
Member
Registered: Jul 2006
Location: Louisville, KY
Distribution: Fedora 12, Slackware, Debian, Ubuntu Karmic, FreeBSD 7.1
Posts: 443
Original Poster
Rep:
|
I've done some googling, I think that dnsmasq was the service in question, but I'm going to check out pdnsd as well.
If anyone's looking for simple dnsmasq info, check http://www.enterprisenetworkingplane...le.php/3377351
|
|
|
10-14-2009, 06:38 AM
|
#4
|
Member
Registered: Jul 2006
Location: Louisville, KY
Distribution: Fedora 12, Slackware, Debian, Ubuntu Karmic, FreeBSD 7.1
Posts: 443
Original Poster
Rep:
|
I've used dnsmasq ever since I posted this, it works like a champ. It's also a very good dhcp server, allowing me to give the same IP address and domain name to my wife's laptop every time she connects to our wireless access point (assigned via MAC address).
|
|
|
All times are GMT -5. The time now is 05:11 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|