DNS unable to set up!!

Thread Tools Search this Thread
Operating Systems Linux DNS unable to set up!!
# 1  
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 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

mail IN A
ftp IN A
web IN A
web3 IN A
Please help......
# 2  
Old 02-13-2008
Just eye-balling the configuration, everything looks OK. What are you doing that tells you it's not working?
# 3  
Old 02-13-2008
So, what exactly is not working ? Use "dig" tool to see the records, otherwise flush / reload with rndc " rndc reload ", or simply restart the bind - these are general band-aids.
# 4  
Old 02-16-2008
hi dig stuck


I have tried dig & host -l example.com many times with no results...connection times out
# 5  
Old 02-16-2008
What's the context of /etc/resolv.conf? It should NOT be localhost or the IP of your own server.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

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

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

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

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

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

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

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

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

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

10. 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
Login or Register to Ask a Question