HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Server Operation (http://www.howtoforge.com/forums/forumdisplay.php?f=5)
-   -   [PowerDNS] Return Different IP's for lan then internet (http://www.howtoforge.com/forums/showthread.php?t=37079)

xeross 28th June 2009 14:02

[PowerDNS] Return Different IP's for lan then internet
 
Hey,

I was wondering, Is it possible to return a different ip for a domain name for lan pc's and people from the internet.

So a request from in the lan resolves to for example: 192.168.0.3
And for internet: 83.56.29.18

Is this possible ?

Thank you for your time, Xeross

falko 29th June 2009 12:32

Yes: http://www.howtoforge.com/two_in_one_dns_bind9_views

xeross 29th June 2009 14:15

Too bad I'm using powerdns and not bind

id10t 30th June 2009 02:01

You could run 2 instances of PowerDNS, bind one to your internet NIC and one to your LAN nic.

xeross 30th June 2009 11:02

So I can bind it to my wan address even though I have a router ?

id10t 30th June 2009 15:09

Ah, probably not then....


All times are GMT +2. The time now is 14:59.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.