Installing Bind

From Initq
Jump to: navigation, search
[root@localhost etc]# yum install bind.x86_64
Loaded plugins: rhnplugin
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package bind.x86_64 32:9.7.3-2.el6_1.P3.2 will be installed
--> Processing Dependency: bind-libs = 32:9.7.3-2.el6_1.P3.2 for package: 32:bind-9.7.3-2.el6_1.P3.2.x86_64
--> Processing Dependency: liblwres.so.60()(64bit) for package: 32:bind-9.7.3-2.el6_1.P3.2.x86_64
--> Processing Dependency: libisccfg.so.62()(64bit) for package: 32:bind-9.7.3-2.el6_1.P3.2.x86_64
--> Processing Dependency: libisccc.so.60()(64bit) for package: 32:bind-9.7.3-2.el6_1.P3.2.x86_64
--> Processing Dependency: libisc.so.62()(64bit) for package: 32:bind-9.7.3-2.el6_1.P3.2.x86_64
--> Processing Dependency: libdns.so.69()(64bit) for package: 32:bind-9.7.3-2.el6_1.P3.2.x86_64
--> Processing Dependency: libbind9.so.60()(64bit) for package: 32:bind-9.7.3-2.el6_1.P3.2.x86_64
--> Running transaction check
---> Package bind-libs.x86_64 32:9.7.3-2.el6_1.P3.2 will be installed
--> Finished Dependency Resolution
 
Dependencies Resolved
 
======================================================================================
 Package       Arch       Version                      Repository                Size
======================================================================================
Installing:
 bind          x86_64     32:9.7.3-2.el6_1.P3.2        rhel-x86_64-server-6     3.9 M
Installing for dependencies:
 bind-libs     x86_64     32:9.7.3-2.el6_1.P3.2        rhel-x86_64-server-6     838 k
 
Transaction Summary
======================================================================================
Install       2 Package(s)
 
Total download size: 4.7 M
Installed size: 0  
Is this ok [y/N]: y
Downloading Packages:
(1/2): bind-9.7.3-2.el6_1.P3.2.x86_64.rpm                      | 3.9 MB     00:11     
(2/2): bind-libs-9.7.3-2.el6_1.P3.2.x86_64.rpm                 | 838 kB     00:01     
--------------------------------------------------------------------------------------
Total                                                 349 kB/s | 4.7 MB     00:13     
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing : 32:bind-libs-9.7.3-2.el6_1.P3.2.x86_64                             1/2 
  Installing : 32:bind-9.7.3-2.el6_1.P3.2.x86_64                                  2/2 
 
Installed:
  bind.x86_64 32:9.7.3-2.el6_1.P3.2                                                   
 
Dependency Installed:
  bind-libs.x86_64 32:9.7.3-2.el6_1.P3.2                                              
 
Complete!

Contents

Install Bind utilities

[root@localhost etc]# yum install bind-utils
Loaded plugins: rhnplugin
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package bind-utils.x86_64 32:9.7.3-2.el6_1.P3.2 will be installed
--> Finished Dependency Resolution
 
Dependencies Resolved
 
======================================================================================
 Package        Arch       Version                     Repository                Size
======================================================================================
Installing:
 bind-utils     x86_64     32:9.7.3-2.el6_1.P3.2       rhel-x86_64-server-6     177 k
 
Transaction Summary
======================================================================================
Install       1 Package(s)
 
Total download size: 177 k
Installed size: 0  
Is this ok [y/N]: y
Downloading Packages:
bind-utils-9.7.3-2.el6_1.P3.2.x86_64.rpm                       | 177 kB     00:00     
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing : 32:bind-utils-9.7.3-2.el6_1.P3.2.x86_64                            1/1 
 
Installed:
  bind-utils.x86_64 32:9.7.3-2.el6_1.P3.2                                             
 
Complete!

Testing utilities

[root@localhost etc]# nslookup lexiana.com 207.69.188.185
Server:		207.69.188.185
Address:	207.69.188.185#53
 
Non-authoritative answer:
Name:	lexiana.com
Address: 99.54.115.122

Registration

Registration is a process by which a customer tells a registrar which nameservers to delegate a subdomain to and provides the registrar with contact and billing information. Some of these are Godaddy, VeriSign and Networksolutions.

Where do I fit

Look for start of authority (SOA) record to get more information.

[root@localhost etc]# nslookup - 207.69.188.185
> set type=soa
> lexiana.com
Server:		207.69.188.185
Address:	207.69.188.185#53
 
Non-authoritative answer:
lexiana.com
	origin = ns1.mydyndns.org
	mail addr = zone-admin.dyndns.com
	serial = 2007072046
	refresh = 10800
	retry = 1800
	expire = 604800
	minimum = 1800
 
Authoritative answers can be found from:
lexiana.com	nameserver = ns3.mydyndns.org.
lexiana.com	nameserver = ns1.mydyndns.org.
lexiana.com	nameserver = ns4.mydyndns.org.
lexiana.com	nameserver = ns5.mydyndns.org.
lexiana.com	nameserver = ns2.mydyndns.org.
ns1.mydyndns.org	internet address = 204.13.248.76
ns2.mydyndns.org	internet address = 204.13.249.76
ns2.mydyndns.org	has AAAA address 2600:2002::76
ns5.mydyndns.org	internet address = 203.62.195.76
ns5.mydyndns.org	has AAAA address 2600:2005::76
ns4.mydyndns.org	internet address = 91.198.22.76
ns4.mydyndns.org	has AAAA address 2600:2004::76
ns3.mydyndns.org	internet address = 208.78.69.76
> 
[root@localhost etc]# nslookup 
> set type=any
> lexiana.com.
Server:		10.0.2.3
Address:	10.0.2.3#53
 
Non-authoritative answer:
lexiana.com	nameserver = ns1.mydyndns.org.
lexiana.com	nameserver = ns3.mydyndns.org.
lexiana.com	nameserver = ns5.mydyndns.org.
lexiana.com	nameserver = ns4.mydyndns.org.
lexiana.com	nameserver = ns2.mydyndns.org.
 
Authoritative answers can be found from:
> set type=mx 
> lexiana.com.
Server:		10.0.2.3
Address:	10.0.2.3#53
 
Non-authoritative answer:
lexiana.com	mail exchanger = 5 mail.lexiana.com.
 
Authoritative answers can be found from:
>
Personal tools