Linux dns service for help

Source: Internet
Author: User
Tags dnssec
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)

Named configuration file
Options {
Listen-on port 53 {any ;};
Listen-on-v6 port 53 {: 1 ;};
Directory "/var/named ";
Dump-file "/var/named/data/cache_dump.db ";
Statistics-file "/var/named/data/named_stats.txt ";
Memstatistics-file "/var/named/data/named_mem_stats.txt ";
Allow-query {any ;};
Recursion yes;

Dnssec-enable yes;
Dnssec-validation yes;
Dnssec-lookaside auto;

/* Path to isc dlv key */
Bindkeys-file "/etc/named. iscdlv. key ";

Managed-keys-directory "/var/named/dynamic ";
};

Logging {
Channel default_debug {
File "data/named. run ";
Severity dynamic;
};
};

Zone "." IN {
Type hint;
File "named. ca ";
};

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.
Related Article

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.