Hi
I have a base system with 3 Jails configured.
The main system has the ip 192.168.40.20
Jail1 has 192.168.40.21
Jail2 has 192.168.40.22
Jail3 has 192.168.40.40
All systems are connected to a windows domain with samba36
If I check now the DNS entries, the main system has all IP Addresses registered on the DNS. How can I prevent the main system to register the alias IP Addresses?
/etc/rc.conf
I have a base system with 3 Jails configured.
The main system has the ip 192.168.40.20
Jail1 has 192.168.40.21
Jail2 has 192.168.40.22
Jail3 has 192.168.40.40
All systems are connected to a windows domain with samba36
If I check now the DNS entries, the main system has all IP Addresses registered on the DNS. How can I prevent the main system to register the alias IP Addresses?
/etc/rc.conf
Code:
hostname="main.domain.com"
ifconfig_em0="inet 192.168.40.20 netmask 255.255.255.0"
ifconfig_em0_alias0="inet 192.168.40.21 netmask 255.255.255.0" # Interface jail1
ifconfig_em0_alias1="inet 192.168.40.22 netmask 255.255.255.0" # Interface jail2
ifconfig_em0_alias1="inet 192.168.40.40 netmask 255.255.255.0" # Interface jail3
# main jail config
jail_enable="YES"
jail_set_hostname_allow="NO"
jail_list="jail1 jail2 jail3"
# jail1 config
jail_jail1_hostname="jail1.domain.com"
jail_jail1_ip="192.168.40.21"
jail_jail1_rootdir="/usr/jails/jail1"
jail_jail1_devfs_enable="YES"
# jail2 config
jail_jail2_hostname="jail2.domain.com"
jail_jail2_ip="192.168.40.22"
jail_jail2_rootdir="/usr/jails/jail2"
jail_jail2_devfs_enable="YES"
# jail3 config
jail_jail3_hostname="jail3.domain.com"
jail_jail3_ip="192.168.40.40"
jail_jail3_rootdir="/usr/jails/jail3"
jail_jail3_devfs_enable="YES"
Code:
nslookup main.domain.com
Server: 192.168.40.10
Address: 192.168.40.10#53
Name: main.domain.com
Address: 192.168.40.40
Name: main.domain.com
Address: 192.168.40.21
Name: main.domain.com
Address: 192.168.40.22
Name: main.domain.com
Address: 192.168.40.20