Linux Bind-utils Package installation using

Source: Internet
Author: User
Tags nslookup

Linux bind-utils
First, Introduction

DNS is a service that resolves a domain name to an IP address. such as: www.turbolinux.com.cn through DNS resolution, you can get 210.77.38.126.
Bind is a DNS service program under a Linux system. Bind-utils is a set of DNS toolkits provided by Bind software, with some DNS-related tools. Mainly: Dig,host,nslookup, Nsupdate. Use these tools to perform domain name resolution and DNS debugging work.

Second, the installation of Bind-utils

1.yum mode installation
[email protected] ~]# Yum install bind-utils-y
[email protected] ~]# nslookup www.baidu.com
server:10.41.7.13
address:10.41.7.13#53

Non-authoritative Answer:
www.baidu.com canonical name = www.a.shifen.com.
Name:www.a.shifen.com
address:61.135.169.125
Name:www.a.shifen.com
address:61.135.169.121
[Email protected] ~]# host www.baidu.com
Www.baidu.com is a alias for www.a.shifen.com.
Www.a.shifen.com has address 61.135.169.121
Www.a.shifen.com has address 61.135.169.125
[Email protected] ~]# dig www.baidu.com

; <<>> DiG 9.8.2rc1-redhat-9.8.2-0.68.rc1.el6 <<>> www.baidu.com
;; Global options: +cmd
;; Got Answer:
;; ->>header<<-opcode:query, Status:noerror, id:50791
;; Flags:qr Rd RA; Query:1, Answer:3, authority:0, additional:0

;; QUESTION section:
; www.baidu.com. In A

;; ANSWER section:
Www.baidu.com. 1153 in CNAME www.a.shifen.com.
www.a.shifen.com. 257 in a 61.135.169.121
www.a.shifen.com. 257 in a 61.135.169.125

;; Query Time:4 msec
;; server:10.41.7.13#53 (10.41.7.13)
;; When:tue Jul 31 16:18:43 2018
;; MSG SIZE rcvd:90

Linux Bind-utils Package installation using

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.