Sponsored Content
Full Discussion: Linux DNS
Special Forums IP Networking Linux DNS Post 2023 by alwayslearningunix on Friday 13th of April 2001 08:03:42 PM
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
 

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

NAME
nslint - perform consistency checks on dns files SYNOPSIS
nslint [ -d ] [ -c named.conf ] [ -C nslint.conf ] nslint [ -d ] [ -b named.boot ] [ -B nslint.boot ] DESCRIPTION
Nslint reads the nameserver configuration files and performs a number of consistency checks on the dns records. If any problems are discov- ered, error messages are displayed on stderr and nslint exits with a non-zero status. Here is a partial list of errors nslint detects: Records that are malformed. Names that contain dots but are missing a trailing dot. PTR records with names that are missing a trailing dot. Names that contain illegal characters (rfc1034). A records without matching PTR records PTR records without matching A records Names with more than one address on the same subnet. Addresses in use by more than one name. Names with CNAME and other records (rfc1033). Unknown service and/or protocol keywords in WKS records. Missing semicolons and quotes. OPTIONS
-b Specify an alternate named.boot file. The default is /etc/named.boot. -c Specify an alternate named.conf file. The default is /etc/named.conf. -B Specify an alternate nslint.boot file. The default is nslint.boot in the last directory line processed in named.boot (or the current working directory). This file is processed like a second named.boot. The most common use is to tell nslint about A records that match PTR records that point outside the domains listed in named.boot. -C Specify an alternate nslint.conf file. The default is nslint.conf in the last directory line processed in named.conf (or the current working directory). This file is processed like a second named.conf. -d Raise the debugging level. Debugging information is displayed on stdout. Nslint knows how to read BIND 8 and 9's named.conf configuration file and also older BIND's named.boot file. If both files exist, nslint will prefer named.conf (on the theory that you forgot to delete named.boot when you upgraded BIND). ADVANCED CONFIGURATION
There are some cases where it is necessary to use the advanced configuration features of nslint. Advanced configuration is done with the nslint.conf file. (You can also use nslint.boot which has a syntax similar to named.boot but is not described here.) The most common is when a site has a demilitarized zone (DMZ). The problem here is that the DMZ network will have PTR records for hosts outside its domain. For example lets say we have 128.0.rev with: 1.1 604800 in ptr gateway.lbl.gov. 2.1 604800 in ptr gateway.es.net. Obviously we will define an A record for gateway.lbl.gov pointing to 128.0.1.1 but we will get errors because there is no A record defined for gateway.es.net. The solution is to create a nslint.conf file (in the same directory as the other dns files) with: zone "es.net" { type master; file "nslint.es.net"; }; And then create the file nslint.es.net with: gateway 1 in a 128.0.1.2 Another problem occurs when there is a CNAME that points to a host outside the local domains. Let's say we have info.lbl.gov pointing to larry.es.net: info 604800 in cname larry.es.net. In this case we would need: zone "es.net" { type master; file "nslint.es.net"; }; in nslint.boot and: larry 1 in txt "place holder" nslint.es.net. One last problem when a pseudo host is setup to allow two more more actual hosts provide a service. For, let's say that lbl.gov contains: server 604800 in a 128.0.6.6 server 604800 in a 128.0.6.94 ; tom 604800 in a 128.0.6.6 tom 604800 in mx 0 lbl.gov. ; jerry 604800 in a 128.0.6.94 jerry 604800 in mx 0 lbl.gov. In this case nslint would complain about missing PTR records and ip addresses in use by more than one host. To suppress these warnings, add you would the lines: zone "lbl.gov" { type master; file "nslint.lbl.gov"; }; zone "0.128.in-addr.arpa" { type master; file "nslint.128.0.rev"; }; to nslint.conf and create nslint.lbl.gov with: server 1 in allowdupa 128.0.6.6 server 1 in allowdupa 128.0.6.94 and create nslint.128.0.rev with: 6.6 604800 in ptr server.lbl.gov. 94.6 604800 in ptr server.lbl.gov. In this example, the allowdupa keyword tells nslint that it's ok for 128.0.6.6 and 128.0.6.94 to be shared by server.lbl.gov, tom.lbl.gov, and jerry.lbl.gov. Another nslint feature helps detect hosts that have mistakenly had two ip addresses assigned on the same subnet. This can happen when two different people request an ip address for the same hostname or when someone forgets an address has been assigned and requests a new num- ber. To detect such A records, add a nslint section to your nslint.conf containing something similar to: nslint { network "128.0.6/22"; }; or: nslint { network "128.0.6 255.255.252.0"; }; These two examples are are equivalent ways of saying the same thing; that subnet 128.0.6 has a 22 bit wide subnet mask. Using information from the above network statement, nslint would would flag the following A records as being in error: server 1 in a 128.0.6.48 server 1 in a 128.0.7.16 Note that if you specify any network lines in your nslint.conf file, nslint requires you to include lines for all networks; otherwise you might forget to add network lines for new networks. Sometimes you have a zone that nslint just can't deal with. A good example is a dynamic dns zone. To handle this, you can add the following to nslint.com: nslint { ignorezone "dhcp.lbl.gov"; }; This will suppress "name referenced without other records" warnings. FILES
/etc/named.conf - default named configuration file /etc/named.boot - old style named configuration file nslint.conf - default nslint configuration file nslint.boot - old style nslint configuration file SEE ALSO
named(8), rfc1033, rfc1034 AUTHOR
Craig Leres of the Lawrence Berkeley National Laboratory, University of California, Berkeley, CA. The current version is available via anonymous ftp: ftp://ftp.ee.lbl.gov/nslint.tar.gz BUGS
Please send bug reports to nslint@ee.lbl.gov. Not everyone is guaranteed to agree with all the checks done. 4th Berkeley Distribution 2 May 2002 nslint(8)
All times are GMT -4. The time now is 07:25 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy