In addition to Weibo, there is also WeChat
Please pay attention

WeChat public account
Shulou
2025-11-08 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
Centos server how to install Mydns and MydnsConfig, many novices are not very clear about this, in order to help you solve this problem, the following editor will explain in detail for you, people with this need can come to learn, I hope you can gain something.
Let's talk about what it is.
MyDNS is a free DNS server-side software on the UNIX platform. It is designed to read DNS recording software directly from the database, and the modified records can also take effect from time to time.
I installed mydns's environment centos 5.5i386 mysql5.1 php5.2.14 mydns1.1.0 mydnsconfig3.0.1 apache
The following is the official mydns
Mydns: http://mydns.bboy.net/
Mydnsconfig: http://www.mydnsconfig.org/
Download mydns first
Wget http://mydns.bboy.net/download/mydns-1.1.0.tar.gz
And then decompress.
Tar zxvf mydns-1.1.0.tar.gz
Compilation and installation
. / configure
Make & & make install
Create a database for mydns
Mysqladmin-u username-p create mydns
Write to database structure
Mydns-create-tables | mysql-u username-p mydns
Give permissions to the mydns database
Mysql-u username-p mydns
Mysql > GRANT SELECT ON mydns.* TO user@localhost IDENTIFIED BY 'password'
Create a build mydns configuration file
Mydns-dump-config > / etc/mydns.conf
Modify the database connection field in mydns.conf
$conf ["db_type"] = 'mysql'
$conf ["db_host"] = 'localhost'
$conf ["db_database"] = 'mydns'
$conf ["db_user"] = 'sudu'
$conf ["db_password"] = 'sudu123'
Start mydns in the background
Mydns-background
Then you can use netstat to see if port 53 of mydns is started successfully.
To install mydnsconfig, it is relatively easy to install apache below, just use the following command
Cd / tmp
Wget http://www.mydnsconfig.org/downloads/MyDNSConfig-3-stable.tar.gz
Tar xvfz MyDNSConfig-3-stable.tar.gz
Cd mydnsconfig/install/
Php-Q install.php
Then follow the prompts to choose the installation.
Is it helpful for you to read the above content? If you want to know more about the relevant knowledge or read more related articles, please follow the industry information channel, thank you for your support.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

The market share of Chrome browser on the desktop has exceeded 70%, and users are complaining about
The world's first 2nm mobile chip: Samsung Exynos 2600 is ready for mass production.According to a r
A US federal judge has ruled that Google can keep its Chrome browser, but it will be prohibited from
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope





About us Contact us Product review car news thenatureplanet
More Form oMedia: AutoTimes. Bestcoffee. SL News. Jarebook. Coffee Hunters. Sundaily. Modezone. NNB. Coffee. Game News. FrontStreet. GGAMEN
© 2024 shulou.com SLNews company. All rights reserved.