Sponsored Content
Full Discussion: How to set dns in rhel4
Operating Systems Linux Red Hat How to set dns in rhel4 Post 302365010 by pludi on Sunday 25th of October 2009 08:22:48 AM
Old 10-25-2009
The 'search' directive of resolv.conf doesn't specify which servers to search, but what domains to search through. Example: if you specify two search domains
Code:
search bar.com
search foo.bar.com

and do a lookup for the name 'baz', the resolver will look for
  • baz.
  • baz.bar.com.
  • baz.foo.bar.com.

Name servers, where the resolver should query about them, are specified by the 'nameserver' directive, eg
Code:
nameserver 192.168.0.2
nameserver 192.168.0.3

will query 192.168.0.2 first, and, if that's not reachable, 192.168.0.3.

For your server to be able to act as a name server, you'll have to install and configure the appropriate service. One of the most used is BIND, which should be available in the RHEL repositories.

Ref: resolv.conf(5), Wikipedia on BIND, ISC BIND
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

DNS set-up

Were able to set-up and configure Web,File and DHCP Services except for the DNS set-up. Isn't it that to set up dns, we have to use BIND? In Web Services, we were able to view the default page using the servers IP address, our client wants to view it using or typing the address for example... (2 Replies)
Discussion started by: carljo
2 Replies

2. IP Networking

How can I set DNS for my website

I have developed a website using LAMP. Right now we are accessing the website using ip address(in intranet) ie http://10.192.192.162/IntraWeb/index.php I would like to access the web using name instead of ip address. ie http://www.projects.org/IntraWeb/index.php How can I set DNS for... (1 Reply)
Discussion started by: sip
1 Replies

3. Linux

DNS unable to set up!!

Hi Experts, I am a newbie like in Linux world, practising Fedora Linux on VMWare but DNS is never set up: Below are my conf files: 1. named.conf options { directory "/var/named"; /* * If there is a firewall between you and nameservers you want * to talk... (4 Replies)
Discussion started by: vikasdh
4 Replies

4. Solaris

Solaris DNS Client For Microsoft DNS Server

hey guys, how to add soalris box as a microsoft DNS Client ? and how to register in the microsoft DNS ?? i managed to query from the DNS server after adding /etc/resolve.conf and editing /etc/nsswitch.conf but i need to register the soalris server (dns Client) into Microsoft DNS automatically.... (3 Replies)
Discussion started by: mduweik
3 Replies

5. Red Hat

Update for RHEL4

Hi Everybody, I have some RHEL4 and RHEL5 machines, whenever i check for new updates on RHEL4 with up2date, it shows me the update which is for RHEL5 machine and not for RHEL4 machine.On the other RHEL4 machine it shows the correct update (which is for RHEL4) So i am not able to update it. Can... (2 Replies)
Discussion started by: laxmikant
2 Replies

6. Programming

How to set DNS lookup type for getaddrinfo()?

Hi there, I'm trying to do an MX type lookup using getaddrinfo(), but I can't work out how to change the lookup type to MX from the standard A - can anybody tell me how to do this? Thanks very much John G (3 Replies)
Discussion started by: JohnGraham
3 Replies

7. 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

8. Red Hat

DHCP & DNS - Clients get IP but don't register in DNS

I am trying to setup a CentOS 6.2 server that will be doing 3 things DHCP, DNS & Samba for a very small office (2 users). The idea being this will replace a very old Win2k server. The users are all windows based clients so only the server will be Linux based. I've installed CentOS 6.2 with... (4 Replies)
Discussion started by: FireBIade
4 Replies

9. Red Hat

Issue in DNS set up

:wall:I am a beginer in Linux admin. I have build new DNS setting in my system. Please find the below procedure what I followed to build DNS. but at last when I fired nslookup command, its getting error. I am using RHEL5 OS. Please help me to resolve this below issue.. Advance thanks for... (1 Reply)
Discussion started by: pradipta_pks
1 Replies

10. UNIX for Advanced & Expert Users

Set up and configure DNS in virtualbox

hi to everyone. our instructor gave us a cd containing rhel6. where on 3rd week now and he is assgning us to configure a dns. Im using rhel 6.3(anaconda). i install bind. and says:nothing to do. when i follow step by step configuration in some website i encounter problems like i have no file... (1 Reply)
Discussion started by: rpmacaspac
1 Replies
dnsextd(8)						    BSD System Manager's Manual 						dnsextd(8)

NAME
dnsextd -- BIND Extension Daemon SYNOPSIS
dnsextd DESCRIPTION
dnsextd is a daemon invoked at boot time, running alongside BIND 9, to implement two EDNS0 extensions to the standard DNS protocol. dnsextd allows clients to perform DNS Updates with an attached lease lifetime, so that if the client crashes or is disconnected from the net- work, its address records will be automatically deleted after the lease expires. dnsextd allows clients to perform long-lived queries. Instead of rapidly polling the server to discover when information changes, long-lived queries enable a client to indicate its interest in some set of data, and then be notified asynchronously by the server whenever any of that data changes. dnsextd has no user-specifiable command-line argument, and users should not run dnsextd manually. SEE ALSO
mDNS(1) mDNSResponder(8) For information on Dynamic DNS Update, see RFC 2136 "Dynamic Updates in the Domain Name System (DNS UPDATE)" For information on Dynamic DNS Update Leases, see http://files.dns-sd.org/draft-dns-update-leases.txt For information on Long-Lived Queries, see http://files.dns-sd.org/draft-dns-llq.txt BUGS
dnsextd bugs are tracked in Apple Radar component "mDNSResponder". HISTORY
The dnsextd daemon first appeared in Mac OS X 10.4 (Tiger). Darwin June 2, 2019 Darwin
All times are GMT -4. The time now is 10:50 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy