Linux dns service help-Linux Enterprise Application-Linux server application information. The following is a detailed description. Hello everyone, I want to implement dns resolution host name rac-scan.localdomain for three different ip addresses, it should be round-robin algorithm, each time in order of three different ip addresses, not random resolution.
The test environment is as follows:
The ip address of the host fedora14 is dhcp and used as the dns server. It is not clear whether a fixed ip address is required as a dns. Or can I specify the dns server ip address on the client?
Two notebook interfaces, the current wireless network, dhcp
Cat/etc/hosts
127.0.0.1localhost.localdomainlocalhost
: 1localhost. localdomainlocalhost6
Install the software as follows:
Bind-9.7.4-2.P1.fc14.x86_64
Bind-libs-9.7.4-2.P1.fc14.x86_64
Bind-utils-9.7.4-2.P1.fc14.x86_64
(Bind-chroot is not installed, and the installation is even dizzy)
Include "/etc/named. rfc1912.zones ";
Include "/etc/named. root. key ";
# Zone "rac-scan" IN {
# Type Master;
# File "rac-scan.localdomain ";
#};
The last few lines are added by myself, and the named service cannot start.
[Root @ localhost Desktop] # cat/var/named/rac-scan.localdomain
$ TTL 86400
@ In soa localdomain. root (
42; serial (d. adams)
3 H; refresh
15 M; retry
1 W; expiry
1D); minimum
In ns localdomain.
Rac-scan in a 192.168.1.131
Rac-scan in a 192.168.1.132
Rac-scan in a 192.168.1.133
I want to achieve the following:
Enable two other virtual machines on the host machine. Use the host machine's dns service, and assign three IP addresses according to rac-scan. The three ip addresses allocated by the VM and the host and rac-scan are in the same network segment. How can this problem be solved? After two days, even the services cannot get up ...... Hope you have a finger. Thank you.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.