Sponsored Content
Full Discussion: Linux DNS
Special Forums IP Networking Linux DNS Post 2030 by alwayslearningunix on Saturday 14th of April 2001 08:04:36 AM
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
 

10 More Discussions You Might Find Interesting

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

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

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

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

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

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

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

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

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

10. 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
named(8)						      System Manager's Manual							  named(8)

Name
       named - Internet name domain server daemon

Syntax
       /usr/etc/named [ -d level# ] [ -p port# ] [ -b bootfile ][ -n ][ -a type.version ]

Description
       The daemon is the Internet domain name server for the BIND/Hesiod service.  Without any arguments, reads the default boot file and any ini-
       tial data from the BIND/Hesiod data base files.	then listens for queries.

       The boot file specifies where the BIND/Hesiod server is to get its initial data.  See the Example section.

       The master data files consist of entries of the following form:
       $include file
       $origin domain
       domain ttl addr-class entry-type resource-record-data
       The entry is useful for separating data into separate files.  The entry is useful for placing more than one domain in a data file.  It  can
       also be used to set the reverse network number origin.  The fields are:

       file	    This is the name of the file to be included.

       domain	    This  is  the  domain  name.  An at sign (@) signifies the current origin.	A name refers to the standard domain name.  If the
		    domain name does not end with a period, the current origin is appended to the domain.  A domain name ending with a	period	is
		    the complete BIND domain name (fully qualified) and thus does not get an extension appended to it.

       ttl	    This  field is an optional integer specifying the time to live.  If no time to live is specified, the default is obtained from
		    the SOA entry.

       addr-class   This field is the object class type.  There are three classes:

		    IN	       Objects connected to the DARPA Internet

		    HS	       Hesiod naming service data

		    ANY        All classes

       entry-type   The most common entries for this field are listed below.  The field, however, must correspond with the entry type:

		    A	       Host address

		    CNAME      Canonical name for an alias

		    HINFO      Host information

		    MX	       Mail exchanger

		    NS	       Authoritative name server

		    PTR        Domain name pointer

		    SOA        Start of a zone of authority

		    TXT        Hesiod text

		    WKS        Well-known service description

       The following signals have the specified effect when sent to the server process using the command:

       SIGXFSZ	    Causes the server to reload only the databases that have changed.

       SIGHUP	    Causes the server to read and reload database.

       SIGINT	    Dumps the current data base and cache to

       SIGIOT	    Dumps statistics to

       SIGUSR1	    Turns on debugging.  Each time the SIGUSR1 signal is issued, the debug level increments  by  one.	Debugging  information	is
		    dumped to

       SIGUSR2	    Turns off debugging.

Options
       -b bootfile  Names of the boot file.  If no boot file is specified, the default is

       -d level#    Prints  debugging  information.   A number after the -d option determines the level of messages printed.  It is a good idea to
		    run the daemon with the -d option in the background.

       -p port#     Specifies the port number.	The default is the standard port number listed in the file.

       -n	    Runs in network safe mode.	All HS class queries sent over the network are authenticated.  Non-authenticated  queries  for	HS
		    information from hosts other than local host are not answered.  Non-authenticated requests for zone transfers are ignored.

       -a type.version
		    Specifies  the  default authentication type.  When authenticated queries are formed, needs to know what type of authentication
		    to use.  The type parameter specifies the form of authentication.  The version parameter specifies the version of the type	to
		    use.  The supported forms of authentication are:

		    type      Kerberos

		    version   One

Examples
       The following is an example of a boot file:
       ;
       ;     boot file for name server
       ;
       ; type	  domain		 source file or host
       ;
       primary	  cities.us		 hosts.db
       ;
       primary	  2.10.in-addr.arpa	 hosts.rev
       ;
       primary	  0.0.127.in-addr.arpa	 named.local
       ;
       secondary  cc.cities.us		 10.2.0.78 128.32.0.10
       ;
       ; load the cache data last
       cache	   .			 named.ca
       Entries	beginning with a semicolon are comment lines.  In this example, the first line that is not a comment specifies that this system is
       the primary authoritative BIND server for the domain This line also specifies that the file contains authoritative  data  for  the  domain.
       Domain names in the file are relative to the origin, such as in the preceding example.

       The second and third non-comment entries (beginning with show the domain in reverse order.  This allows address to name mapping.

       The  fourth  non-comment line specifies that all authoritative data under is to be transferred from the primary master server at IP address
       to the secondary server.  If the transfer fails, the secondary server will then try the master server at address There can be up to  10	IP
       addresses listed.

       The  cache entry specifies that the data in is to be placed in the cache.  This would include well known data such as the locations of root
       domain servers.

Files
       Name server configuration boot file

       Process ID number

       Debug output

       Dump of the BIND server's cache

See Also
       kill(1), signal(3c), resolver(3), hesiod.conf(5), resolv.conf(5)
       Guide to the BIND/Hesiod Service

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