View Single Post
  #6   (View Single Post)  
Old 13th January 2010
joostvgh joostvgh is offline
Port Guard
 
Join Date: Jan 2010
Posts: 38
Default

Quote:
Originally Posted by jggimi View Post
If the users you ask about are users located on the OpenBSD system, then you can certainly set your local system resolution to use a blend of file lookup and DNS resolution. See the man page for resolv.conf(5), and read about "lookup".

This will have -no- impact on DNS configurations of other systems, such as if your OpenBSD platform is a router in a network.

Even if you were to set up your own DNS server infrastructure, someone could circumvent your DNS system. Either by directing their DNS requests elsewhere, or, if you block such traffic, by doing a lookup externally and using the resulting IP addresses.
ok i reread this post & mnanuals several times, so this is my idea of what you are saying:

- traffic from all host pc's passed through the openbsd
- in /etc/hosts i add 127.0.0.1 rapidshare.com
- in resolv.conf i change the order to file, bind so first the file and then the dns servers will be queried
- openbsd is not dhcp nor dns
- primary and secondary dns = ips dns

this should get everyone querying for rapidshare.com go to 127.0.0.1, unless they go directly via rapidshare ip? for this i could add blocking rules..
Reply With Quote