add the linux host to DNS

 
Thread Tools Search this Thread
Operating Systems Linux Red Hat add the linux host to DNS
# 1  
Old 04-16-2012
add the linux host to DNS

I built the new linux server. And i want to add it to DNS. Please help me how to do this !!!

thanks in advance ! Smilie
# 2  
Old 04-16-2012
Hi,

You can add the DNS entries in the /etc/resolv.conf file.
# 3  
Old 04-17-2012
Thanks Siva! it's useful for me...

And, we need to edit nsswitch.conf file ?

What is the use of this file ?
# 4  
Old 05-01-2012
nsswitch.cof is for NIS client config
this is not related to DNS
# 5  
Old 05-01-2012
This is incorrect, nsswitch.conf is not for NIS client config. It is relevant for host names and it determines the order in which the various sources are called..
# 6  
Old 05-01-2012
thnx for correcting me what is the use of netgroup under nis
# 7  
Old 05-01-2012
The best way to do this would be to execute
Code:
/usr/sbin/system-config-network

when you are unsure of doing things.

Also, /etc/nsswitch.conf should have the following entry. But, that will be taken care of by the system-config-network command
Code:
hosts:      files dns

And, have you created an "A" (host) entry in the DNS server for both forward and reverse lookup zones? Otherwise, clients will not be able to communicate with the server by the name.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. HP-UX

Sendmail - relay Host unknown since adding dns

Hi ever since we´ve added the server in DNS, sendmail stopped working, but everything seems to be configured properly although in the mail logs we see: Jul 10 16:52:58 itc01 sendmail: t6AEqrHT005593: from=root, size=6, class=0, nrcpts=1, msgid=<201507101452.t6AEqrHT005593@itc01.headquarter.tmm>,... (3 Replies)
Discussion started by: fretagi
3 Replies

2. Solaris

Host file to dns zone creation solution?

We are currently using the famous script H2N to create our DNS zone files from a host file. However, we are moving to IPV6 soon and this script doesnt support IPV6. Is there another script/solution to creating DNS zones via a host file input? Is there another solution or way to do things that I may... (0 Replies)
Discussion started by: jpolachak
0 Replies

3. UNIX for Dummies Questions & Answers

Host file to DNS zone creation

We are currently using the famous script H2N to create our DNS zone files from a host file. However, we are moving to IPV6 soon and this script doesnt support IPV6. Is there another script/solution to creating DNS zones via a host file input? (0 Replies)
Discussion started by: jpolachak
0 Replies

4. Solaris

Windows 7 Host Cannot ping Solaris 10 DNS on VM

Hello All, Host - Windows 7 64 BIT Guest OS - Solaris 10 64 on VMWARE workstation Problem : I can not ping solaris VM from my host OS. please suggest the solution. Host OS:ipconfig /all Windows IP Configuration Host Name . . . . . . . . . . . . : INPS01900LT ... (5 Replies)
Discussion started by: sunil_1111
5 Replies

5. UNIX for Dummies Questions & Answers

Add Linux host to Windows domain

Hi, I want to know the commands for adding a linux host to windows active directory domain. Request you to please help. Thanks & Regards Arun (1 Reply)
Discussion started by: Arun.Kakarla
1 Replies

6. UNIX for Advanced & Expert Users

DNS server choice: Windows DNS vs Linux BIND

I'd like to get some opnions on choosing DNS server: Windows DNS vs Linux BIND comparrsion: 1) managment, easy of use 2) Security 3) features 4) peformance 5) ?? I personally prefer Windows DNS server for management, it supports GUI and command line. But I am not sure about security... (2 Replies)
Discussion started by: honglus
2 Replies

7. UNIX for Dummies Questions & Answers

Sendmail error: 550 5.1.8 invalid/host-not-in-DNS

I have sendmail setup to relay through my external ISP. Everything was working fine until I started getting the error message (below). I don't what I did to cause this? I have read a number of related posts and it appears that I might need to configure the sending address of my server to appear... (0 Replies)
Discussion started by: simonmason
0 Replies

8. UNIX for Advanced & Expert Users

Linux Host File

Hi, I'm currently setting up a custom DVD RedHat install. I was wondering if anybody would know how to have linux install a custom host file (/etc/hosts and hosts.allow) ? Thanks (1 Reply)
Discussion started by: Georgesaa
1 Replies

9. UNIX for Advanced & Expert Users

LINUX 9 IPTABLES and DNS

I have installed a linux 9 router/firewall and have issues with outside DNS queries making it in. here are my IPTABLE rules, can anyone make some suggestions? ETH1 is my outside facing Interface, ETH0 is my inside facing interface. Accept If input interface is not eth1 Accept If protocol is... (1 Reply)
Discussion started by: frankkahle
1 Replies

10. IP Networking

Linux DNS

I really need help here. I am trying to sort out dns on a linux machine, but no matter what i do it just doesnt seem to work. I am sorting out dns for a domain, but even after putting the entries in /etc/named.boot for the localhost nslookup to work, referencing the correct file in /var/named -... (4 Replies)
Discussion started by: alwayslearningunix
4 Replies
Login or Register to Ask a Question