tmsa12
asked on
centos 6 64bit local dns to resolve internet issues
dear gurus
our users using windows xp/7/8
where in their pc network until we enter global isp dns or google dns 8.8.4.4 or 8.8.8.8
the never go to internet. so for this we want to build a small server to resolve locally and forward/redirect/route traffic to internet via local dns linux centos 6 server
so can someone assist on this ideally
regards
atmc
our users using windows xp/7/8
where in their pc network until we enter global isp dns or google dns 8.8.4.4 or 8.8.8.8
the never go to internet. so for this we want to build a small server to resolve locally and forward/redirect/route traffic to internet via local dns linux centos 6 server
so can someone assist on this ideally
regards
atmc
ASKER
dear sir
thank you
in fact it will be local dns which help end user clent to go on internet, via global isp dns or say google dns etc. this is needed
yes all are static ips
regards
thank you
in fact it will be local dns which help end user clent to go on internet, via global isp dns or say google dns etc. this is needed
yes all are static ips
regards
create caching-only name server or configure dnsmasq on centos.. It's easy and provide you better recursive query results
TY/SA
TY/SA
ASKER
Dear Gurus
highly appreciate but any tips links of guidline for such cases handy support onwards fruther
highly appreciate
rgds atmc
highly appreciate but any tips links of guidline for such cases handy support onwards fruther
highly appreciate
rgds atmc
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
I hope I did understand the matter correctly:
- You want a DNS server to locally resolve hostnames;#
- recursively resolve the rest with your ISP's/Google's DNS servers
The last part, the forwarder, is fairly easy to accomplish. Just install BIND on your centos box, edit the config and set your clients to use the new DNS server:
http://docs.tsuru.io/en/latest/misc/dns-forwarders.html
The other part is not so straightforward:
- As long as you use static IPs (no DHCP) then just edit the zone file as in the tutorial above.
If you want also a DHCP server with dynamic DNS updates, I recommend using a more user friendly approach and use a ready-made Firewall appliance.
I strongly recommend pfSense:
http://pfsense.org/
You can install it on any old PC. After installing it you access and configure pfSense via it's Web GUI.
Then enable the DHCP your LAN (internal) interface there and check the box to resolve DHCP leases.
Also, you might want to install the Avahi package in the package manager.
Note: Though pfSense is a fully flagged firewall, you do not need to use it as a gateway but as a DHCP/DNS server only if you like; applying no filtering at all.