A question about BIND
I want to use one BIND server to be a DNS server for my internal network and my internet domains.
So for example when an internal client asks for the IP of www.domain.com it gets: 192.168.1.14 But when an internet client asks for the IP of www.domain.co it gets: 217.149.2.4 (Just made some IPs) How can I do that? Thanks. |
Quote:
These are the dns entries that have to be in your bind zone file. Here are the catches: A) You should set www records to be CNAME's, not A's: B) If an internet client requests www.domain.com, it gets 192.168.1.14 C) Maybe you forgot the m in www.domain.co... I guess that means what you want is to set up different client views. http://www.zytrax.com/books/dns/ch7/view.html Code:
bind.conf/named.conf: |
Thanks!
Yeah I forgot the m :) |
All times are GMT -5. The time now is 09:13 PM. |