DNS with VLAN
Hi,
I will cut my LAN in different VLAN.(VLAN 100 for servers : 192.168.100.0/24, VLAN 101 : 192.168.101.0/24, VLAN 103 : 192.168.3.0/24) My linux box is used as a gw, a DNS server, a firewall and a mail server. eth1 is for the internet, eth0.100 , eth0.101 and eth0.103 for vlan 100, 101, 103. is it possible to configure etc/named.conf like this : Code:
zone "." IN { Code:
$TTL 86400 Thx a lot for u help. |
As far as I can tell, I believe your setup will work. You can have one zone for resolving hosts to IPs and three separate zones for resolving those IPs to hosts.
As for using NS gw.foo.bar.com , in make sure you give it three separate IP addresses in your foo.bar.com zone and define the reverse address for the proper zone in each respective in-addr.arpa zone file. You should have lines like this: Code:
gw IN A 192.168.100.1 If you have any more questions, feel free to ask. |
All times are GMT -5. The time now is 12:10 AM. |