Sponsored Content
Full Discussion: Configure DNS in rhel6.3
Homework and Emergencies Homework & Coursework Questions Configure DNS in rhel6.3 Post 302837939 by Scott on Saturday 27th of July 2013 11:36:58 PM
Old 07-28-2013
It seems you want bind-chroot (of which bind is a dependency)

Code:
yum install bind-chroot

will give you both packages.

Could you please edit your post to re-copy your named.conf, using code tags... all the formatting is lost now, and it's hard to read.

You should fully qualify the paths to your zone files.

Code:
[root@ns1 etc]# nslookup imac
Server:         127.0.0.1
Address:        127.0.0.1#53

Name:   imac.scottn.int
Address: 10.16.134.200

[root@ns1 etc]# grep -A2 scottn.int named.conf
zone "scottn.int" {
        type master;
        file "/var/named/scottn.int.hosts";
        notify yes;
        };

[root@ns1 etc]# vi named.conf
...

[root@ns1 etc]# grep -A2 scottn.int named.conf
zone "scottn.int" {
        type master;
        file "scottn.int.hosts";
        notify yes;
        };

[root@ns1 etc]# service named restart
Stopping named:                                            [  OK  ]
Starting named:
Error in named configuration:
zone scottn.int/IN: loading from master file scottn.int.hosts failed: file not found
zone scottn.int/IN: not loaded due to errors.
_default/scottn.int/IN: file not found
                                                           [FAILED]

 

10 More Discussions You Might Find Interesting

1. IP Networking

trying to configure DNS address in Solaris

hi to all. I'm trying to use the sendmail command to generate some reports and I cant use it. The mails i try to send simply won't go out, instead I receive a response from the system sayng that the host is unknown. I think the problem is in the DNS configuration (or the IMAP/SMTP servers). ... (3 Replies)
Discussion started by: ldrojasm
3 Replies

2. UNIX for Advanced & Expert Users

How to configure DNS

My OS is sun solaris7,(sun sparc),i want connect inernet and my computer in my company intranet.After i configure proxy server,i still can't conncet internet.I guess whether the DNS is configured correctly. who can help me???Thank you very much!!! (6 Replies)
Discussion started by: q30
6 Replies

3. Solaris

configure DNS server on solaris

Hello evrybody I need to know how i can implement and configure DNS server in solaris9 and i need to understand which files i modified it to do that Thanks all (8 Replies)
Discussion started by: asafwat
8 Replies

4. IP Networking

Configure DNS

I am running Solaris 2.6 Server on a Sparc 10 and I was wondering how I can manually specify a DNS server to resolve hostnames. Any help will be greatly appreciated. And also I have created a file in the /etc dir named defaultrouter and added th IP address of my router, but when I ping another... (15 Replies)
Discussion started by: jskillet
15 Replies

5. Red Hat

configure dns in centos

Hi, how do I set the DNS in centos. I don't mean of creating DNS server, but setting what should be the DNS server of centos. I mean to what server he should go in order to translate url into ip (6 Replies)
Discussion started by: programAngel
6 Replies

6. Red Hat

How to configure DNS configuration for RHEL 5?

I wanted to know how to configure DNS configuration for RHEL 5. I hope, my query is clear of how to setup DNS for RHEL 5. Please revert with the reply to my query Regards (6 Replies)
Discussion started by: RHCE
6 Replies

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

8. Red Hat

Chroot DNS RHEL6

Hi, Just installed BIND on rhel6 as a primary new DNS server and all went well, digging and resolving as it should. However, all zone files are listed in the /var/named dir as well as the /var/named/chroot/var/named. Although no dynamic links are shown, they are. This doesn't seem secure to me,... (2 Replies)
Discussion started by: Duffs22
2 Replies

9. IP Networking

How to configure RHEL6 to support Aleton 4408 in DSR mode?

Dears How to configure RHEL6 to support Aleton 4408 in DSR(Direct Server Return) mode We have config Aleton 4408 + Windows 2008R2 then Windows set loopback interface with VIP. the exec the following command in CMD netsh interface ipv4 set interface "net" weakhostreceive=enabled netsh... (0 Replies)
Discussion started by: nnnnnnine
0 Replies

10. Red Hat

Unable to configure Photon3G in RHEL6.5

Hi All, Has Any body configured Photon3G ( ZTE MF190 ) on RHEL6.5. Any Device as below .. Bus 001 Device 033: ID 19d2:1254 ZTE WCDMA Technologies MSM Kernel -- 2.6.32-431.30.1.el6.x86_64 Usb modeswitch Version .. usb_modeswitch-data-20120815-2.el6.noarch... (0 Replies)
Discussion started by: linux.amrit
0 Replies
named-checkzone(1)					      General Commands Manual						named-checkzone(1)

NAME
named-checkzone - zone validity checking tool SYNOPSIS
class] mode] mode] outfile] directory] directory] zonename [filename] DESCRIPTION
is a tool for performing integrity checks on the zone contents. It uses the same integrity checks as the daemon when loading a zone. This makes useful for checking zone files before configuring them into a name server. Zones and zone files are described in named.conf(4). Options Specify the class of the zone. Dump the zone file in canonical format. Enable debugging. Read the journal (if it exists) when loading the zone file. Perform checks with the specified failure mode. Possible modes are (default), and The option is described in named.conf(4). Specify whether NS records should be checked to see if they are addresses. Possible modes are (default), and Write zone output to outfile . Enable quiet mode for exit code only. Print the version of and exit. Change to directory (see chdir(2)) so that relative file names in master file directives work This is similar to the clause in Operands filename The file to use for checking the zone contents. The default is the file with the zone name. For the default to work, the file name for the zone in the statement of the file must be identical to the zone name. zonename The zone whose contents are to be checked. RETURN VALUE
sets the exit status to: Success. Errors were detected. EXAMPLES
To perform integrity checks on zone in the zone file and display debug information: AUTHOR
was developed by the Internet Systems Consortium (ISC). SEE ALSO
named(1M), chdir(2), named.conf(4). Requests for Comments (RFC): 1035, available online at available online at available from the Internet Systems Consortium at BIND 9.3 named-checkzone(1)
All times are GMT -4. The time now is 02:50 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy