I have one static IP address on the external interface of a router which is NAT'd and goes to a firewall, then I have a DMZ setup with a web server, DNS server, and mail server for say example.com on a 10.0.2 network. There is also and internal network.
I have a db.10.0.2 file that contains addresses for mail.example.com, dns.example.com, etc. As well as the db.example.com which has entries for the servers in example.com.
How would I go about adding another domain, say domain.com, inside the DMZ? Would I need to create another db.domain.com file which would mostly be the db.example.com and add entries for domain.com to the db.10.0.2 file? I would also need to add a zone to named.conf for domain.com?
Is this the correct way to go so if someone hits at 1.2.3.4 they go to the right server in the dmz or if they want they will go to 1.2.3.4 and the right server in the dmz?
I plan to have 3 or 4 sites so any help is appreciated on whether this would work or what I need to do.
Thanks.
I have a db.10.0.2 file that contains addresses for mail.example.com, dns.example.com, etc. As well as the db.example.com which has entries for the servers in example.com.
How would I go about adding another domain, say domain.com, inside the DMZ? Would I need to create another db.domain.com file which would mostly be the db.example.com and add entries for domain.com to the db.10.0.2 file? I would also need to add a zone to named.conf for domain.com?
Is this the correct way to go so if someone hits at 1.2.3.4 they go to the right server in the dmz or if they want they will go to 1.2.3.4 and the right server in the dmz?
I plan to have 3 or 4 sites so any help is appreciated on whether this would work or what I need to do.
Thanks.