DNS connectivity checking Name resolution (getting an IP number from a hostname) and reverse mapping (getting a hostname from an IP number) are at the heart of _T_C_P_/_I_P networking. A broken or erratic _D_N_S is often the cause of most network problems and sometimes poor performance. 11.. IItt''ss ssllooww bbuutt iitt wwoorrkkss!! _T_C_P_/_I_P was designed to operate over wide area networks as well a smaller ones. On large networks, you may from time to time encounter long delays. This is a normal (often annoying) condition and the _I_P protocols are ready to cope with this. A bad DNS or broken network connection making the DNS unreachable will cause all kinds of delays (several seconds). Fortunately, quite often a backup facility exists (i.e. a second DNS) and after some timeout, the system becomes active. Unfortunately, this often hides the real problem and slow speed is ttributed to the wrong reason. It may be attributed to an overloaded _I_n_t_e_r_n_e_t, or to an _I_S_P over-selling bandwidth. 22.. TThhee ssttrraatteeggyy _L_i_n_u_x_c_o_n_f makes a small check with the _D_N_S before trying to further configure the machine. It probes the _D_N_S and waits for four seconds. It then reports an error if the _D_N_S has failed to answer within this period. Here are different techniques to support this strategy: +o You should have good network connectivity with your _D_N_S. The DNS may be either located on the local Ethernet network, or right on the other side of a _P_P_P link. +o If no DNS is available near your network, it is better to setup a caching DNS on your machine. Linuxconf does this automatically when you create a DNS with it. +o _D_N_S problems are probably the most difficult problems to track or identify for new users. Try to detect any problems quickly. item>_A _D_N_S does not fail often. When something is wrong with the DNS, the effect is so pervasive, however, that a user may believe his machine is either hung or broken. 33.. TThhee qquueerryy _L_i_n_u_x_c_o_n_f sends the following query to the DNS: nslookup -q=soa 0.0.127.in-addr.arpa All properly configured DNS servers should answer this request. It is possible for a working DNS to operate without a reverse mapping for the network 127.0.0. This is a flaw and should be corrected. (Run linuxconf on this machine and configure the DNS with it and Linuxconf will silently fix this.) 44.. TToo qquueerryy oorr nnoott Some machines may lack DNS connectivity simply because there is no DNS in the organization. Linuxconf won't probe the DNS if there is no name server specified in /etc/resolv.conf. You can also disable this behavior altogether. Just go into the networking submenu and pick the Name server specification (DNS) entry. A checkbox allows you to disable this. This is the only purpose of the checkbox in this dialog.