Linux DNS


 
Thread Tools Search this Thread
Special Forums IP Networking Linux DNS
# 1  
Old 04-13-2001
Data

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 - it still says server failed when I try to do a nslookup on the domain.

I have tried editing named.boot and the actual domain zonefile in /var/named in numerous ways, but it just doesnt work, Im pulling my hair out here!!

Can someone help me, i must be missing something somewhere.

Regards

alwayslearningunix
# 2  
Old 04-14-2001
RE: Linux DNS

Need more data.

Is dns even currently running? Are you sure that you are doing nslookup on your server and not someone else's? Are other domains functioning fine? Did you edit any of the files from a windows machine?

Maybe if you cut and past the files we could find the typo or other problem.

If all else fails ask mr dns is an excellent resource for dns related problems. http://www.acmebw.com/askmrdns/

# 3  
Old 04-14-2001
weird...

I feel like i am in the twilight zone here, at 3am today this was not working, so i went to sleep. got up at 11 and suddenly the nslookup is, and the domain is accessible over the internet. maybe its got to do with propagation? but i dont see how since i was querying a domain on my own name server.

anyway i made a new zonefile for another domain, and added the entry in /etc/named.boot, and edited /etc/named.conf accordingly. restarted named, and it worked immediately when i queried the domain name???

i dont understand. at least it works but i would like to know what i did that made it work first time. do i need to put an entry for each zonefile in /etc/named.boot? what other files do i need to edit?

thanks for any help
alwayslearningunix
# 4  
Old 04-14-2001
The best way to answer your question is to see the /etc/resolv.conf, /etc/named.conf and the actual zone files, etc. There can be many things in DNS to cause problems and without seeing the files, any suggestions would be just wild guesses.
# 5  
Old 04-19-2001
specific....

sorry about the late reply to this, this was something I was doing in my part time. I feel kind of stupid, but hope my mistakes will help others, I have learnt:

If you are managing dns be VERY pedantic about syntax in your zonefiles, make sure you stick closely to what is reagarded as a template zone file - after messing about with backups I had made of the zones which did not work I realised that it was my syntax which was wrong at one or two places, and this was enough for any queries to not work on those zones. My advice is to get the DNS and BIND book from O'Reilly, this helped alot, and also create a .template file in your /named directory (which just has a template for the SOA down to TTL header of zone files) and whenever making new zones, use that to copy from, it is very useful. Finally after making so many changes and losing my trail I decided to put my whole dns zone file editing under SCCS control, this way I can keep an audit trail of what is done, when and why - I have found it very useful indeed. SCCS is good, and simple, for that. man SCCS for info.

Hope this prevents someone having the same grief I had!
alwayslearningunix
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Red Hat

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 ! :) (6 Replies)
Discussion started by: abhay1983
6 Replies

2. IP Networking

Configuring DNS Server in Linux Redhat

Can someone help with a detail step-by-step oh how to configure DNS server on Linux Server. - I need to have 3 IP addresses map to a single hostname. for clients I'm a Linux rookie. Thanks Oscar (1 Reply)
Discussion started by: FrankOscar
1 Replies

3. Red Hat

Linux DNS issue

Hi , I have configured OEL 5.3 server on VMware server,installation went fine, however when i am checking host using configured /etc/hosts i am getting following error let me know where it went wrong . I had disabled firewall options and SELLinux. root@oen11g ~]# host oen11g.grid.com ;;... (2 Replies)
Discussion started by: autoconfig
2 Replies

4. Red Hat

DNS for linux RedHat

Dear members, I am trying to set up a simple DNS but the problem is that when I ping the name of the IP address in the Reverse file, it does not recognise it. My code are as follows: Note that my IP address is 172.22.45.237. In my /etc/named.conf file, I have added the following lines ... (10 Replies)
Discussion started by: shakshakshuk
10 Replies

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

6. Ubuntu

Linux Redhat ES 4.0 - DNS Config Issues

Hello all, I've a very strange thing hapenning in my Sys, I've configured the IP, DNS eveything for my internat connection, but Im only able to browse Redhat.com websites. I cant open anyother site!!! :eek: Im sure the internet is configured 'coz it displays the list of avail updates for... (11 Replies)
Discussion started by: AbhijithS
11 Replies

7. UNIX for Advanced & Expert Users

linux firewall / dns issue

I have set up a linux (red hat 9) box as my main internet router. I am also running a DNS server on it. What are the rules i have to implement to allow DNS queries through the firewall from outside so that the outside world can see my domains? (1 Reply)
Discussion started by: frankkahle
1 Replies

8. Linux

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... (6 Replies)
Discussion started by: frankkahle
6 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. UNIX for Dummies Questions & Answers

DNS Name Server Problem on Linux

I'm very new to all of this, so I apologize in advance if my post comes off incoherent, or terms aren't used correctly :rolleyes: Using Fedora Core 2, I set up am internal DNS name server. After setting up the named.conf, and the localhost files I was able to correctly resolve my host name... (3 Replies)
Discussion started by: skeet23
3 Replies
Login or Register to Ask a Question