The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Special Forums > IP Networking
.
google unix.com



IP Networking Learn TCP/IP, Internet Protocol, Routing, Routers, Network protocols in this UNIX and Linux forum.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Does Active Directory top Linux authentication options? - Search Enterprise Linux iBot UNIX and Linux RSS News 0 11-01-2007 02:00 AM
Linux's future not as dour as IDC predicts, critics say - Search Enterprise Linux iBot UNIX and Linux RSS News 0 10-31-2007 04:00 PM
Does Active Directory top Linux authentication options? - Search Enterprise Linux iBot UNIX and Linux RSS News 0 10-29-2007 06:20 AM
Sun Sparc defectors tap Transitive for Linux migrations - Search Enterprise Linux iBot UNIX and Linux RSS News 0 08-16-2007 07:10 PM
Hovespian cites four vehicles to broaden Linux adoption - Search Enterprise Linux iBot UNIX and Linux RSS News 0 08-08-2007 08:30 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 04-13-2001
alwayslearningunix
Guest
  
 

Posts: n/a
Bits: 0 [Banking]
Unhappy

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

  #2 (permalink)  
Old 04-14-2001
devnull devnull is offline
Registered User
  
 

Join Date: Apr 2001
Posts: 1
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 (permalink)  
Old 04-14-2001
alwayslearningunix
Guest
  
 

Posts: n/a
Bits: 0 [Banking]
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
  #4 (permalink)  
Old 04-14-2001
Neo's Avatar
Neo Neo is offline Forum Staff  
Administrator
  
 

Join Date: Sep 2000
Location: Asia Pacific
Posts: 6,734
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 (permalink)  
Old 04-19-2001
alwayslearningunix
Guest
  
 

Posts: n/a
Bits: 0 [Banking]
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!
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 02:13 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0