Sponsored Content
Full Discussion: DNS unable to set up!!
Operating Systems Linux DNS unable to set up!! Post 302166848 by vikasdh on Wednesday 13th of February 2008 01:33:02 AM
Old 02-13-2008
Data 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 to, you might need to uncomment the query-source
* directive below. Previous versions of BIND always asked
* questions using port 53, but BIND 8.1 uses an unprivileged
* port by default.
*/
// query-source address * port 53;
};

//
// a caching only nameserver config
//
controls {
inet 127.0.0.1 allow { localhost; } keys { rndckey; };
};
zone "." IN {
type hint;
file "named.ca";
};

zone "localhost" IN {
type master;
file "localhost.zone";
allow-update { none; };
};

zone "0.0.127.in-addr.arpa" IN {
type master;
file "named.local";
allow-update { none; };
};


zone "example.com" IN {
type master;
file "/var/named/example.com.zone";
};

include "/etc/rndc.key";

2. /var/named/example.com.zone
$TTL 86400
@ IN SOA enterprise3.example.com. hostmaster.example.com. (
200802113 ; serial
3H ; refresh
10M ; retry
1W ; expiry
1D ) ; minimum

@ IN NS enterprise3.example.com.

@ IN MX 10 mail.example.com.

enterprise3 IN A 192.168.91.128

mail IN A 192.168.91.129
ftp IN A 192.168.91.130
web IN A 192.168.91.131
web3 IN A 192.168.91.132
~
~
~
~
Please help......
 

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. Shell Programming and Scripting

Unable to set a data to array

Hi All, Iam trying to set the value to the array... Still its not happening Following is the code: #!/usr/bin/ksh filenames="x"; filenames="y"; echo $filenames; echo $filenames; O/P: x x Iam expecting (2 Replies)
Discussion started by: kiranlalka
2 Replies

4. Solaris

timeout : unable to connect to DNS

i tried to configure DNS on my x86 PC ,in a network but after following all the below mentioned steps , I am getting the message ."timeout : unable to connect to DNS" Steps followed : Step 1. First check that the necessary packages are installed to configure DNS. Step 2. Configure the... (1 Reply)
Discussion started by: kush singh
1 Replies

5. Red Hat

How to set dns in rhel4

Hi, I would like to know on how to set up dns on my server running rhel 4, the purpose so other computers can look through this server(trial1) when they nslookup and so on.. I tried to put my server name(trial1) and ip address in /etc/resolv.conf but when I try on the other server to... (4 Replies)
Discussion started by: flekzout
4 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. 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

8. Shell Programming and Scripting

Unable to set my PATH variable

Hello All, Hope you can understand my problem from the below code. $ cat ~/.profile PS1=`whoami`@`hostname`':$PWD $ ' export PATH="$PATH:.:/logarchive/utility/util:/usr/sbin:" $ echo $PATH /usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:.:/usr/sbin: $ echo $SHELL /usr/bin/ksh ... (6 Replies)
Discussion started by: sathyaonnuix
6 Replies

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

10. Linux

Unable to set static ip address

Hi All, Am using centos 7 in my vmware workstatio with the bridged network. when run the ifconfig cmd its not at all showing the ip address and pls advise how to set static ip address in my linux box. (1 Reply)
Discussion started by: sarathkumar s
1 Replies
named-xfer(8)						      System Manager's Manual						     named-xfer(8)

Name
       named-xfer - pull BIND/Hesiod zones from another server

Syntax
       /usr/etc/named-xfer -z zone_to_transfer -f db_file -s serial_no [ -d debug_level ] [ -l debug_log_file ] [ -t trace_file ] [ -p port ] [ -n
       ] [ -a auth_type.auth_ver ] servers...

Description
       The transfer daemon, is a server that is usually run by the daemon, but it can also be run manually with the given arguments.  The transfer
       daemon  runs  on  a BIND/Hesiod secondary server and pulls BIND/Hesiod zones from a primary server.  This daemon is not run by default, nor
       can it be started up from

Options
       -z zone_to_transfer
			  This option is required to pull a zone.  The zone_to_transfer argument specifies the name of the BIND/Hesiod	zone  that
			  the daemon will transfer, for example, dec.com.

       -f db_file	  This option is  required to pull a zone.  The db_file argument specifies the name of the file into which the pulled zone
			  information is placed.

       -s serial_no	  This option is required to pull a zone.  The serial_no argument should be set to the current serial number  of  the  SOA
			  record for the zone zone_to_transfer.  If serial_no is set to 0, the zone is always pulled.

       -d debug_level	  The debug_level argument sets the debug level and determines the amount of debug information to be displayed.

       -l debug_log_file  The debug_log_file argument specifies the file that will contain any debug messages from the zone pull.

       -t trace_file	  The trace_file argument specifies the file that will contain a trace from the zone pull.

       -p port		  The port argument specifies the port that will be used instead of the default nameserver port listed in

       -n		  This	option	must be used when the daemon is running in the network safe mode.  It indicates that the zone pull must be
			  authenticated.

       -a  auth_type.auth_ver
			  This option must be used if the daemon is running in the network safe mode.  The auth_type argument indicates what  type
			  of authentication to use and the auth_ver argument indicates what version of the authentication type to use.	Currently,
			  the auth_type must be "kerberos" and the auth_ver must be "one".

       servers...	  The servers argument is a list of Internet addresses from which to pull a zone.  If the first host cannot be	ddreached,
			  the transfer daemon will try to pull the zone from the next host listed.

See Also
       services(5), named(8), kerberos(8krb)
       Guide to the BIND/Hesiod Service
       Guide to Kerberos

																     named-xfer(8)
All times are GMT -4. The time now is 08:37 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy