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
To configure the DNS approximate steps:1. Configure the IP address, and DNS points to itself.2. Turn off the firewall and turn off SELinux.3. Mount and install the bind package4. Copy the configuration file5. Configuring named.conf Primary Files6. Configure forward and backward files7. Configure the Forward file8. Configuring Reverse Files9. Restart the service10. Testing ServicesBody1. Configure the IP add
DNS service configuration and application 2-Linux Enterprise Application-Linux server application information. The following is a detailed description. 10.
Set root region: When the dns server performs recursive query, if the local region file cannot be parsed, it will go to the root server for query, so in the master configuration file named. the conf file also
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
to define priority)CNAME: Alias Recordtype of zone transfer:Full zone transfer: Full transferIncremental zone transfer: Transfer only the changed contentZone Type:Primary zone: MasterFrom zone: SlaveHint Area: hintForwarding Area: ForwardBind Package:Bind: Provides the main process of domain name service and related filesBind-utils: Provides a test tool for DNS serversBind-libs: Provides library functions
Godaddy is the world's No. 1 domain name and virtual host service provider. It is found that Godaddy also provides free Domain Name DNS resolution services, and does not need to buy any Godaddy services, you only need to register as a Godaddy member for free! Godaddy's free DNS service is also very powerful, just like
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
CNAME www.mylinux.com.TxtCHAOSSRVDomain: Domain Logic ConceptsArea: Zone Physics Concept. comMylinux.com. In NS ns.mylinux.com.Ns.mylinux.com. In A 172.16.100.0/24Mylinux.com. 172.16.100.0/24www 172.16.100.10Mail 172.16.100.11,mxCreate two zone filesForward zone files:Mylinux.com. In SOA ns.mylinux.com. Admin.mylinux.com. (201607071H5M1W1D)Www.mylinux.com. In A 172.16.100.10can be abbreviated as :www in A 172.16.100.10-------------------------------------------------------Reverse zone file:100.
" alt= "Wkiol1w6pojwdl8daacemworwta093.jpg"/>the next thing to do is create the file Example.zone and the Zone.example these two files, and then the Named.localhost and the Named.empty of the content Copy It is worth noting that all groups must be named650) this.width=650; "height=" 167 "src=" Http://s3.51cto.com/wyfs02/M00/70/9D/wKioL1W6PoyDkeWZAAFG6Y46PsY984.jpg " alt= "Wkiol1w6poydkewzaafg6y46psy984.jpg"/>then you go to the forward domain file . Example.zone and reverse domain name file Zone.
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
Named.loopback-rw-r-----. 1 named Root 189 Dec 5 12:42 Rewang.zone-rw-r-----. 1 named Root 185 Dec 5 12:35 Wang.zone[Email protected] named]#Next start the service, but sometimes the following problems occur. Generating/etc/rndc.key appears when you start DNS: It's stuck here.[Email protected] named]#/etc/init.d/named restartStopping named: [OK]Generating/etc/rndc.key:^c[Email protected] named]#Workaround:
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
;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.*
UsedLinuxFor a long time, I know something and I will share it with you,DNSAndSendmailThere are many people using the service. I will explain in depth how to install the DNS + Sendmail service in Linux.
Detailed DNS configuration process
1. Set the host name first.
Vi/etc/sysconfig/network
2. Configure the
DNS service/etc/rndc. keywasfound solution after the dns service is configured in RHEL6, the following problems may occur. rndc cannot find the key, and the named service runs normally. In fact, it can also be used, however, based on the principle that we cannot let go of a
To configure the DNS approximate steps:1. Configure the IP address, and DNS points to itself.2. Turn off the firewall and turn off SELinux.3. Mount and install the bind package4. Copy the configuration file5. Configuring named.conf Primary Files6. Configure forward and backward files7. Configure the Forward file8. Configuring Reverse Files9. Restart the service10. Testing ServicesBody1. Configure the IP add
To configure the DNS approximate steps:1. Configure the IP address, and DNS points to itself.2. Turn off the firewall and turn off SELinux.3. Mount and install the bind package4. Copy the configuration file5. Configuring named.conf Primary Files6. Configure forward and backward files7. Configure the Forward file8. Configuring Reverse Files9. Restart the service10. Testing ServicesBody1. Configure the IP add
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
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.