Skip to main content

Posts

How DNS Works ? How Query works -Recursive and Iterative Queries for DNS Server

How DNS Works ? A DNS domain name is used in a program on the local computer. The request is then passed to the DNS Client service for resolution using locally cached information. If the queried name can be resolved, the query is answered and the process is completed. The local resolver cache can include name information obtained from two possible sources: If a Hosts file is configured locally, any host name-to-address mappings from that file are preloaded into the cache when the DNS Client service is started. For linux /unix the file is # vi /etc/hosts For windows :   c:\Windows\System32\drivers\etc The file is hosts Resource records obtained in answered responses from previous DNS queries are added to the cache and kept for a period of time. If the query does not match an entry in the cache, the resolution process continues with the client querying a DNS server to resolve the name. The cache can be cleared using the comm...

Change of hostname for Redhat Linux/Cent OS /Fedora / Ubuntu / Suse Linux

1. Change of Hostname for Redhat / Fedora / Cent OS Linux  First Check the Current  hostname Login as root or do su. # hostname It will show the current hostname for e.g.testserver new hostname : prodserver go to the file /etc/sysconfig/network # vi /etc/sysconfig/network NETWORKING=yes HOSTNAME=testserver change the HOSTNAME to new name e.g. prodserver & save the file & quit. or prodserver.domain.com After  this we need to reboot the server. For  current change we can use the below mentioned command # hostname prodsever c heck the file /etc/hosts & edit the entry if there is any for the IP Address & Hostname 2. For Ubuntu Linux # vi /etc/ hostname Delete old name and add new name: prodserver.jogi.com Save and close the file. Type the following command: # hostname prodserver.jogi.com     Change the /etc/hosts file with new hostname. 3. For Suse Linux #vi  /etc/HOSTNAME  Delete old name ...

IPV6 DNS INSTALLATION GUIDE

IPV6 DNS INSTALLATION MANUAL BIND ON UBNUTU LINUX This Document will help you to install the IPv6 DNS Server on UBUNTU LINUX. The same method can also be used for the installation on other Linux Flavors . The Software described in the document is bind version 9 . All the Bind 9 and above are supporting IPv6 features. Bind installation on Ubuntu Linux: 1.     Install the Ubnutu Linux server 12.04 LTS server . The OS is available on the following website www.ubuntu.com The Operating system is available for 32 bit or 64 bit Architecture. The Operating System is available under Open Source Platform. Install   the OS with Std installation features. 2.     The BIND installation The bind software can be installed on the Server using following commands              # sudo   apt-get install b...