Configure the ipv6dns server under Fedora

Source: Internet
Author: User
Operating System: Fedora14DNS version: dnsmasq2.52 or bind9.xdnsmasq2.52 is provided by Fedora14, so I chose this option and it is easy to use. It is a lightweight dnsserver, bind is relatively professional, but it is complicated to build. I will not introduce it. If you are interested, you can set it up by yourself. If you have set it up and published it, please leave a message to me and I will give you a link! Thanks, both of them support IPv6,

Operating System: Fedora 14

DNS version: dnsmasq2.52 or bind9.x

Dnsmasq2.52 is provided by Fedora 14, so I chose it and it is also very convenient to use. It is a lightweight dns server. bind is relatively professional, but it is very complicated to build, I will not introduce it. If you are interested, you can set it up by yourself. If you have set it up and published it, please leave a message to me and I will give you a link! Thank you.

Both of them support IPv6, so there is no need to process them more. Dnsmasq also supports the dhcp service, but generally does not need to be handled.

First, of course, it is installed. The installation methods of dnsmasq and bind9.x are similar. Let's not talk about it. One of the key points to share is:

#./Configure -- help // lists many compilation-related items. Generally, you do not need to add anything unless necessary.

// Of course, if you know what you are doing and what you want, you can add parameters. Generally, only -- prefix = you_want_path is used.

// If there are no errors after configuer, you can start make and make install.

That's all. My posts are aimed at some basic linux enthusiasts, so I did not write them step by step, which is troublesome and time-consuming.

Configure dnsmasq. conf

# Vi/etc/dnsmasq. conf

Search for and open changes

Resolv-file =/etc/resolv. dnsmasq. conf # resolv. conf is used by default.

Addn-hosts =/etc/dnsmasq. hosts # The default value is hosts.

Local =/localnet/

Address =/you.4254domain.com/127.0.0.1 # The domain name ipv4

Address =/you.ipv6.domain.com/200:# your web ipv6 address

# Cp/etc/resolv. conf/etc/resolv. dnsmasq. conf

# Vi/etc/resolv. conf

Modify the content:

Nameserver 127.0.0.1

Nameserver: 1

# Vi/etc/resolv. dnsmasq. conf

Modify the content:

Nameserver the ipv4 address of your local machine

Nameserver the ipv6 address of your local machine (used for web, not local link address, but global unicast address)

# Cp/etc/hosts/etc/dnsmasq. host

# Vi/etc/dnsmasq. host

Add your domain name and corresponding address, for example:

192.168.0.3 your.ipv4.com
2001: 3 your.w.6.com

Finally, start the service;

# Man dnsmasq # learn to find something by yourself

#/Etc/init. d/dnsmasq start

Please leave a message if you have any questions!

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.