Solved

prevent users from changing DNS server settings on XP or block DNS from PIX

Posted on 2010-09-15
13
1,444 Views
Last Modified: 2012-05-10
Hi, I want to use opendns.com and want to prevent windows XP users from chaning their dns settings after I make opendns their dns. Or is there a way in PIX to block or catch all DNS traffic except for the servers that belong to opendns?

Thanks,

Art
0
Comment
Question by:kaosmadness
  • 3
  • 3
  • 2
  • +3
13 Comments
 
LVL 5

Expert Comment

by:Ioannis_Avgeros
ID: 33686478
Hi,

simply denying them admin rights on their local computers will do that for you.
0
 
LVL 5

Accepted Solution

by:
Ioannis_Avgeros earned 64 total points
ID: 33686484
As for PIX just create an access list:

check here: http://www.tek-tips.com/viewthread.cfm?qid=742313&page=214
0
 

Author Comment

by:kaosmadness
ID: 33686499
Thanks Ioannis. Sorry i should have clarified, we run software that requires the user logged in to have admin rights. Is there a way to change just that setting or filtering dns from PIX?
0
 
LVL 33

Assisted Solution

by:MikeKane
MikeKane earned 62 total points
ID: 33686543
The link that Ionnis gave you is the correct answer.   Allows port 53 for opendns, then block for all others.   Forces the users to use opendns or they get no resolution.
0
 

Author Comment

by:kaosmadness
ID: 33686880
Great! I will accept that as a solution! But is there any way to have all traffic redirected at the pix so I dont have to change DNS servers in all the end users computer? A lot of them have a static IP so I would have to go change all of them since changing it in DHCP server wont affect them.
0
IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

 
LVL 10

Assisted Solution

by:wdurrett
wdurrett earned 62 total points
ID: 33686931
Hi Kaos.

I assume that you are not in a domain environment if you are setting DNS servers on the actually machines?

If you are, there is a group policy that will lock DNS.

Also, rather than creating an access list only, you can use Bi-Directional NAT with Port Forwarding to force every DNS request to OpenDNS - regardless of the server set at the computer level.  So if a user changes the DNS server on the workstation, they will still be using OpenDNS.  This will allow for name resolution to the servers you want while keeping the helpdesk line quiet.  Read more here:
http://www.cisco.com/en/US/products/hw/vpndevc/ps2030/products_tech_note09186a0080094aad.shtml

0
 
LVL 5

Expert Comment

by:Ioannis_Avgeros
ID: 33687061
Why don't you use a DHCP server instead of setting IP Addresses locally? It would make your life a lot easier.
0
 
LVL 9

Assisted Solution

by:CLoz
CLoz earned 62 total points
ID: 33688730
If you wanted to you could configure a 'reverse' port redirect on the PIX to redirect all outbound port 53 traffic to the OpenDNS.com server. So even if a user changes their DNS, their request will always go to the OpenDNS name server.  
Use static (outside, inside) vs. static (inside,outside)
0
 

Author Comment

by:kaosmadness
ID: 33696752
Here you go!  Thanks again, we use an ATT managed internet service, is it possible they are blocking ports in their managed router?
PIX Version 6.3(5)
interface ethernet0 10baset
interface ethernet1 10baset
nameif ethernet0 outside security0
nameif ethernet1 inside security100
enable password ---- encrypted
passwd -----
hostname cisco-pix
domain-name sheraton.com
fixup protocol dns maximum-length 512
fixup protocol ftp 21
fixup protocol h323 h225 1720
fixup protocol h323 ras 1718-1719
fixup protocol http 80
fixup protocol rsh 514
fixup protocol rtsp 554
fixup protocol sip 5060
fixup protocol sip udp 5060
fixup protocol skinny 2000
fixup protocol smtp 25
fixup protocol sqlnet 1521
fixup protocol tftp 69
names        
access-list 100 permit icmp any any
access-list 100 permit tcp any any eq 1433
access-list 100 permit tcp any any eq 1434
access-list 100 permit udp any any eq 1434
access-list 100 permit udp any any eq 1433
access-list any permit tcp any any eq 1433
access-list any permit udp any any eq 1434
access-list 300 permit ip any any
pager lines 20
logging on    
logging buffered warnings
mtu outside 1500
mtu inside 1500
ip address outside XX.XX.XX.X 255.255.255.240
ip address inside 10.63.104.11 255.255.0.0
ip audit info action alarm
ip audit attack action alarm
pdm location 10.63.104.253 255.255.255.255 inside
pdm location 10.63.104.0 255.255.255.0 inside
pdm location 10.63.104.227 255.255.255.255 inside
pdm location 12.120.XX.XX 255.255.255.255 outside
pdm logging debugging 100
pdm history enable
arp timeout 14400
global (outside) 1 interface
nat (inside) 1 0.0.0.0 0.0.0.0 0 0
access-group 300 in interface inside
route outside 0.0.0.0 0.0.0.0 12.68.113.1 1
timeout xlate 3:00:00
timeout conn 1:00:00 half-closed 0:10:00 udp 0:02:00 rpc 0:10:00 h225 1:00:00
timeout h323 0:05:00 mgcp 0:05:00 sip 0:30:00 sip_media 0:02:00
timeout sip-disconnect 0:02:00 sip-invite 0:03:00
timeout uauth 0:05:00 absolute
aaa-server TACACS+ protocol tacacs+
aaa-server TACACS+ max-failed-attempts 3
aaa-server TACACS+ deadtime 10
aaa-server RADIUS protocol radius
aaa-server RADIUS max-failed-attempts 3
aaa-server RADIUS deadtime 10
aaa-server LOCAL protocol local
http server enable
http 10.63.104.253 255.255.255.255 inside
http 10.63.104.227 255.255.255.255 inside
no snmp-server location
no snmp-server contact
snmp-server community public
no snmp-server enable traps
floodguard enable
telnet timeout 5
ssh 10.63.104.253 255.255.255.255 inside
ssh 10.63.104.0 255.255.255.0 inside
ssh timeout 60
console timeout 0
username ---------
terminal width 80
Cryptochecksum:33b081b2d820ff6c31e4d01d79490fc1
0
 
LVL 33

Expert Comment

by:MikeKane
ID: 34176036
I would suggest a 4 way split since we all gave good suggestions.
0
 
LVL 59

Expert Comment

by:LeeTutor
ID: 34228641
This question has been classified as abandoned and is being closed as part of the Cleanup Program.  See my comment at the end of the question for more details.
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

I wrote this article to explain some important DNS concepts that should be known to avoid some typical configuration errors I often see in forums. I assume that what is described here is the typical behavior of Microsoft DNS client. I don't know …
Quality of Service (QoS) options are nearly endless when it comes to networks today. This article is merely one example of how it can be handled in a hub-n-spoke design using a 3-tier configuration.
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now