Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
1 Hour
1 Day
1 Week
1 Month
Forever
November 25, 2024, 08:45:32 PM
News
: LinuxSolved.com Linux Help Community Forum..
Home
Search
Login
Register
Linux Forums - Linux Help,Advice & support community:LinuxSolved.com
»
Network Troublshooting
»
Linux Proxy Server Support
»
restrict dns look up
« previous
next »
Print
Pages: [
1
]
Author
Topic: restrict dns look up (Read 5485 times)
sunlinux
Tux Awared
Posts: 30
restrict dns look up
«
on:
August 10, 2007, 09:08:04 AM »
Can we restrict dns lookup for a particular domain such as chatenabled.mail.google.com(used for google chat) with iptables or somehow ?
I want to block chat using gmail.com ( gmail suggested the method to block using above method)
Logged
Ricky
LST CareTaker
Specially Skilled
Posts: 2381
Re: restrict dns look up
«
Reply #1 on:
August 11, 2007, 12:01:19 AM »
you can either drop queries on port 53 which is for dns but then everything will stop or you can block that particular domain.
See this how a person
blocked yahoo messenger using squid
You can also use iptabls to drop that domain request..
Code:
[Select]
iptables -A FORWARD -d domain.com -j DROP
Logged
Print
Pages: [
1
]
« previous
next »
Linux Forums - Linux Help,Advice & support community:LinuxSolved.com
»
Network Troublshooting
»
Linux Proxy Server Support
»
restrict dns look up