LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-27-2013, 09:32 AM   #1
rahul.buragohain
Member
 
Registered: Aug 2011
Location: India
Distribution: RedHat, Centos, Fedora, SuseLinux, Ubuntu
Posts: 55

Rep: Reputation: 1
Queries regarding DNS Server


Hi,

I want to configure DNS server in 172.16.81.6. After the complete installation and configuration of DNS server, I want all my users to browse the internet by giving DNS IP 172.16.81.6 in their systems. Without giving the DNS IP 172.16.81.6 n their system, the users should not be able to browse the internet. For this, should I need to map 172.16.81.6 with the DNS IP given by ISP or just configuring DNS server in 172.16.81.6 will work?? Please help.
 
Old 01-27-2013, 11:34 AM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 17,921

Rep: Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690
Quote:
Originally Posted by rahul.buragohain View Post
Hi,

I want to configure DNS server in 172.16.81.6. After the complete installation and configuration of DNS server, I want all my users to browse the internet by giving DNS IP 172.16.81.6 in their systems. Without giving the DNS IP 172.16.81.6 n their system, the users should not be able to browse the internet. For this, should I need to map 172.16.81.6 with the DNS IP given by ISP or just configuring DNS server in 172.16.81.6 will work?? Please help.
Not alot to help WITH. Use your internal DHCP server to set the DNS configuration on your clients...that's one thing DHCP does by itself.

However, you do realize that if you don't do anything else but that, your users can still access the internet, right?? All they have to do is use Google's DNS servers (entering them manually), or just put IP addresses of sites in their browsers, and off they go. Aside from modifying your DHCP server to point to your own internal DNS server, put a proxy server in place to prevent folks from getting straight out to the internet.
 
Old 01-27-2013, 11:48 AM   #3
rahul.buragohain
Member
 
Registered: Aug 2011
Location: India
Distribution: RedHat, Centos, Fedora, SuseLinux, Ubuntu
Posts: 55

Original Poster
Rep: Reputation: 1
Hi,

As per your advice, if I use my internal DHCP server to set the DNS configuration on the clients, then the client system will take my internal DNS IP 172.16.81.6 automatically from DHCP and finally they will be able to access the internet only through my internal DNS IP right???????

and the second option, as you said, I can use the proxy server also.
 
Old 01-28-2013, 09:57 AM   #4
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 17,921

Rep: Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690
Quote:
Originally Posted by rahul.buragohain View Post
Hi,
As per your advice, if I use my internal DHCP server to set the DNS configuration on the clients, then the client system will take my internal DNS IP 172.16.81.6 automatically from DHCP and finally they will be able to access the internet only through my internal DNS IP right???????
No, that's NOT what I said. I said that you can use your DHCP server to SET your clients DNS server, that's all. Again, all that's going to do is make name resolution not work, but they can STILL manually use Google's DNS servers, or put in IP addresses instead of names, and get right out.
Quote:
and the second option, as you said, I can use the proxy server also.
It's not an option. If you want to prevent users from getting to the Internet, filter websites, etc., you NEED a proxy of some sort. Just using internal DNS to restrict web traffic is very futile, and is just doing work for no real result.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
BIND - reverse dns queries only working locally, forward dns works fine. SloS13 Linux - Networking 3 08-25-2011 01:46 PM
How to forward all DNS queries through ISP DNS server ? jcdc Linux - Networking 4 07-06-2011 12:28 AM
DNS issues, all illegitimate DNS queries resolve to me!??! fast-reflexes Linux - Networking 3 08-17-2010 07:38 AM
DNS merge / intercept queries from zone file and recursion server jabaker Linux - Server 1 06-04-2010 08:54 PM
Resolving DNS Queries, HTTP Server Configuration ASP Mandriva 2 12-23-2003 09:14 AM


All times are GMT -5. The time now is 04:20 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration