BIND is the most widely used DNS server software."Named" in the name of the bind Service"The BIND configuration file is stored in two main locations.▲Bind service main configuration file:/etc/named. conf▲Zone file:/var/named/Chroot encapsulates related files in a pseudo root directory for security defense. Once the program is cracked,You can only access contents
Installing DNS domain name resolution service under Linux systemThe steps are as follows:1> view hangs in mirror location650) this.width=650; "src=" http://s5.51cto.com/wyfs02/M00/7F/D5/wKiom1cvCC6iXxMJAACYeQteKPw702.png "title=" image. png "alt=" Wkiom1cvcc6ixxmjaacyeqtekpw702.png "/>2> to see if the disc is mounted650) this.width=650; "src=" http://s1.51cto.com/wyfs02/M00/7F/D6/wKiom1cvEcqwO6-HAACsZIpFOwI
configured well after dig www.baidu.comConfiguration of the DNS server (forward parsing)Service side:Vim/etc/named.rfc1912.zonesCopy and paste the 19th to 24th line in line 25 to modifyZone "Lcdqqq.com" in {Type master;File "Lcdqqq.com.zone";allow-update {none;};29};Vim/var/namedllCopy the Named.localhost to lcdqqq.comCp-p named.localhost lcdqqq.com (-P: Full replication, even permissions copied)Enter the
As we all know, Linux itself is not with the DNS cache.You can install NSCD to turn on the Linux system DNS cache.1. Installation:Yum-y Install NSCD2. Modify the configuration file:Vim/etc/nscd.confLogfile/var/log/nscd.logThreads 4Max-threads 32Server-user NSCDDebug-level 0Reload-count 5Paranoia NoRestart-interval 3600Enable-cache hosts YesPositive-time-to-live hosts 3600Negative-time-to-live hosts 20Sugges
Kubernetes (k8s) DNS Service Restarts the resolution repeatedly:
k8s.io/dns/pkg/dns/dns.go:150:failed to List *v1. Service:get https://10.96.0.1:443/api/v1/services?resourceVersion=0:dial TCP 10.96.0.1:443:getsockopt:no route to Host
When deploying the Kubernetes service u
During the stress tests of the linux dns cache and NSCD service over the past two days, it was found that using webbench to press a domain name is several times slower than that of an IP address, and the nginx concurrency is also low when the domain name is pressed. I tested it multiple times and suspected that the time was spent on dns resolution. manually parse
EnvironmentOperating system: CentOS 6.5DNS software: Bind (Installation reference: "Linux" DNS service-bind basic configuration (ii))Bind slave ServerFrom the server is to add the configuration information from the domain example.net in the main configuration file of Bind 3 1. configuration file Location /var/named/chroot/etc/named.conf2. Add a zone definition for a row of fields in the master configurat
sent by the client are actually received.Ii. protocols that are closely related to http: ip,tcp and DNSIP protocol : From this, you can know that the IP protocol belongs to the network layer, may be someone will confuse the "IP" and "IP Protocol", "IP" is actually a name of the protocol, the role of IP protocol is to send various packets to each other. and to ensure that they do transfer to each other, you need to meet all kinds of conditions. Two important conditions are IP address and MAC add
DNS service configuration is successful-Linux Enterprise Application-Linux server application information. For details, refer to the following section. (Letter/author) since learning "Linux service configuration" in advance from the last semester, the most time I spent was the configuration of the DNS
Linux DNS cache, NSCD serviceThese two days to do stress test, found that with webbench pressure domain name than the pressure IP address several times slower, and pressure domain name when nginx concurrency is also very low. Repeated tests many times, suspect time is spent on DNS resolution. Do manual parsing in/etc/hosts:1echo "211.157.145.103 m.app518.com" >>/etc/hostsAfter the pressure, the speed is nor
During the stress tests of the linux dns Cache and NSCD service over the past two days, it was found that using webbench to press a domain name is several times slower than that of an IP address, and the nginx concurrency is also low when the domain name is pressed. I tested it multiple times and suspected that the time was spent on dns resolution. perform manual
Recently, users always reflect the login to a server, the user authentication failed error.After I manually restart the winbind process, the login is back to normal.Authconfig Check the configuration column, there is a cache information this item, try to hook up, the result of reloading Winbind when the service NSCD load failed.Baidu learned that NSCD is the DNS caching
DNS service problems-Linux Enterprise Application-Linux server application information. For details, refer to the following section. I have configured the DNS service in linux. However, when nslookup is used for parsing in winXp, the following prompt is displayed:
C: \> nslookup dns.beny.com
Enter "Mount/dev/sr0/mnt" to mount the disc,Then enter "rpm-ivh/mnt/packages/bind-9.7.3-8.p3.el6.i686.rpm" To install the DNS service:After "vi/etc/named.conf" to view the global configuration file,Turn on the 53 port and match the IP address of the machine (IPv6 is temporarily unavailable, can be commented out by the # number),Change "localhost" to "any" to allow any user access:Then enter "Vi/etc/named.rfc1912.zones" to access the zone configuration
;file "reverse.testlocal"; allow-update{none;};}; include "/etc/named.rfc1912.zones ";include"/etc/named.root.key "; 3. Edit the Forward file[Email protected] ~]# more/var/named/forward.testlocal $TTL 86400@ in SOA dns01.****.local. Root.dns01.test.local. (2011071001; Serial3600; Refresh1800; Retry604800; Expire86400; Minimum TTL) @ in NS dns01.test.local.@ in a 10.20.20.66 dns01 in a 10.20.20.664. Edit Reverse File[Email protected] ~]# more/var/named/reverse.testlocal $TTL 86400@ in SOA dns01.*
The role and type of 1.DNS systemThe role of DNS system in the network is to maintain an address database, which records the various host domain names also IP address correspondence, in order to provide the client program forward or reverse the Address query service, that is, forward parsing and reverse parsing.Forward resolution: According to the domain name che
Refer to http://www.centoscn.com/CentosServer/dns/2014/0113/2355.html keepalive high-availability modeThis scheme is only suitable for small businesses, in the case of low-scale use, the resolution of a large amount of time or bind the best.If you add Local intranet own domain name hijacking resolution, simply add the parse record in the installed DNSMASQ/etc/hosts and restart DNSMASQ to take effect.Common Enterprise IT Support "5, intranet
server configuration is complete.8. Configuration forward parsingVim/etc/named.confAddZone "Redhat.com" in {Type master;File "Redhat.com.zone";};9. Add forward parsing configuration fileVim/var/named/redhat.com.zone$TTL 86400@ in SOA ns1.redhat.com. Admin.redhat.com. (2015010101; Serial1H; Refresh5M; Retry1W; Expire3H); MinimumIn NS ns1In MX ten MailNS1 in A 192.168.101.168Mail in A 192.168.101.10www in A 192.168.101.11www in A 192.168.101.12# License Related Documentschmod 640/var/named/redhat
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.