[DNS] Setting up multiple domains with dnsmasq

This is a discussion on [DNS] Setting up multiple domains with dnsmasq within the Linux Networking forums, part of the Linux Forums category; Greetings, I am using Debian and dnsmasq as DNS/DHCP server. The machine is used as a gateway and there ...


Go Back   Usenet Forums > Linux Forums > Linux Networking

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 05-10-2008
Bubba
 
Posts: n/a
Default [DNS] Setting up multiple domains with dnsmasq

Greetings,

I am using Debian and dnsmasq as DNS/DHCP server. The machine is used as a
gateway and there are several other servers in local network. Can dnsmasq
do the following thing - domain x.com should be redirected to 10.x.x.x,
domain y.com to 10.y.y.y and domain z.com to 10.z.z.z in local network.

I have tried to modify dnsmasq.conf with the following settings:

address=/x.com/10.x.x.x
address=/y.com/10.y.y.y
address=/z.com/10.z.z.z

All domains have properly set DNS server (that is, IP address of the
gateway), however, these settings only apply to the *local* network -
these domains, when accessed from the Internet, all give the same thing -
services on the gateway.

Can dnsmasq do what I want or it will be necessary to use bind9?

TIA!

--
Everything will be okay
in the end.
If it's not okay
it's not the end!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 08:27 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0