Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
maradns-limitation
11-15-2013, 02:43 PM
Post: #1
maradns-limitation
Hi,

is it possible to config maradns for following case?

I want that the clients only can resolve domains which are on a kind of whitelist - for all other dns-requests maradns should return 192.168.1.2 for example (internal error site).

Is this able to config via mararc?

Best Regards!
Find all posts by this user
Quote this message in a reply
11-18-2013, 06:09 PM
Post: #2
RE: maradns-limitation
What you're requesting is a variant of this:

http://maradns.samiam.org/deadwood/doc/FAQ.html#07

Something like this should work:

Code:
upstream_servers = {}
upstream_servers["."] = "192.168.255.255"
upstream_servers["google.com."] = "8.8.8.8, 8.8.4.4"
upstream_servers["samiam.org."] = "8.8.8.8, 8.8.4.4"
upstream_servers["stackoverflow.com."] = "8.8.8.8, 8.8.4.4"

(8.8.8.8 and 8.8.4.4 are Google's public DNS servers)
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)