OK so here's a little problem I have: I'm trying to set up my Raspberry Pi as a DNS server (for filtering and caching). The Raspberry Pi is in my network, and has a DHCP IP from the router. The DNS server works perfectly on the Raspberry Pi (I can tell because I set my laptop's DNS server to the local IP of my Raspberry Pi)
However, now I want to set the Raspberry Pi as the DNS server on the router level, so all DHCP clients will use it as their DNS server. The trouble is, if the Raspberry Pi is inside the network, and the network has the Raspberry Pi set as the DNS server, there is no connection to the internet.
Then I thought I'd put the Raspberry Pi outside my main network, on a router that has two clients: the Raspberry Pi and my other router (the main network). However, then I wouldn't be able to access the Raspberry Pi from an IP address set by the inner (main) network.
Basically what I want is the Raspberry Pi to have an IP assigned by the DHCP server on my router (this IP is static), but I want the router to use the Raspberry Pi as it's DNS server (this would mean having the real DNS server only accessible to the Raspberry Pi, and have all other clients use the Raspberry Pi as their DNS server). My router is an Apple Airport Extreme, and I doubt it'd support anything like this (and I'm not sure if anything supports anything like this)..
Is there a way of solving this problem? Thanks