How to start Name server ?

I have Linux and 15 IBMPL connected for internet
access. The problem is my win95 PC's are unable to
resolve the host name. For eg. if I say ftp to
it says host not found. but if I use the IP address it
works just fine. Can anybody tell me how to start the Name Server Under Linux.
Who is Participating?
ernaniazConnect With a Mentor Commented:
I'll just copy the answer from the last message I've answered (adapting for your case):

You can download the last version of bind at: If you have problems to configure, goto Here you will find a pratically documentation to easy configure your bind. also contains the Bind Operations Guide. After installing, just set the domain name server of the network to your linux ip.

Remember: you don't need to fully configure your bind, just need to install it and put a cache configuration.

Here's a working (cache only) configuration example to you:

; Boot file for Caching Only Name Server
; type      domain                 source file or host
directory   /etc
cache       .                      root.cache
primary   named.local

@              IN   SOA (
                          1994072100             ; Serial
                          10800                  ; Refresh
                          1800                   ; Retry
                          3600000                ; Expire
                          259200 )               ; Minimum
               IN   NS       ; pedantic
1              IN   PTR   localhost.

; Put here your cache servers
                   604800   IN   NS   NS.INTERNIC.NET.
NS.INTERNIC.NET.    604800   IN   A
                   604800   IN   NS   NS.ISC.ORG.
NS.ISC.ORG.         604800   IN   A


you should have a /etc/resolve.conf as follows:
  domain your.domain
  nameserver ip.of.your.ISP

sachinrathiAuthor Commented:
I have a Leased Line. so what should be the ip of my asp I don't
know. I was already knowing about the resolve.conf file. But there are some more files such as


Can you tell me about configuring these files.
Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Ask your ISP for "your" IP.

order bind, hosts

directory /var/named
forwarders ip.of.your.ISP
cache      .           named.cache
primary your.domain named.hosts
primary 0.0.127.IN-ADDR.ARPA named.local

0 IN PTR loopback
1 IN PTR localhost

hostname IN A

# see doc for named

I highly recomend reading man-pages befor installing DNS.
1.If you don't plan to administer your ow domain than tell your ISP to create DNS Entry for you.
2.In Windows you can assign NameSerwer IP as IP of your ISP and than all will be ok.
3.If you don't know your IP than please look at the ifconfig . If you write as root ifconfig than you will se all network interfaces with IP assignet to them.
4. You can run only caching nameserwer and this is easy and fully described in HOTO, hoverer please upgrade your bind(nameserwer) , because for the current is well know exploit which can give root access to any hacker.
Who is your ISP?

I think that Experts Exchange have a bug in the cgi script.. Again, the script have cutted the "." at the start of the lines:
                   604800   IN   NS   NS.INTERNIC.NET.
                   604800   IN   NS   NS.ISC.ORG.
please fix this putting a "." at the start of the line. Like: ".     604800 IN NS ....."

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.