How to DNS Masquerade

I have decided to use Linux unbuntu to setup a DNS server and read where masquerading with this is a good idea. Can anyone give me information where I can either use a VLAN and based on this setup a DHCP scope for that subnet. I have 4 subnets and would like to turn on DHCP for each of those subnets. It does not have to be by VLAN but wanted to way that each of my subnets can get an automatic IP and would like to consolidate this to one box that could also perform as a DNS forwarder to the internet from these 4 subnets.
techdriveAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

arnoldCommented:
IMHO, it is best to manage the setup using DHCPD and setup ISC bind for DNS.
You can use dnsmasq instead to achieve both, but the complexity of your VLAN, DHCP scopes .... has to be evaluated wether the DNSMASQ is suitable.
Advantage of ISC Bind is that it will cache the responses as well as provide you with an option to setup your own internal DOMAIN that need not be registered some used mydomain.local

this way you can have your systems register their hostnames and their ips ..........


Internet <=> router <=> LAN Switch= DNS server
your routing rules , vlans will have the DNS server reflected as the name server. The rules between VLAN communication will need to include rigts to have vlans send and receive requests and response from the DNS server....
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Linux

From novice to tech pro — start learning today.