08-27-2007
Fedora 7 DNS server
I am changing company server (HW) with a new machine 64bit I installed Fedora 7 64 with this in mind. Opened up DNS server. And made configurations according to internet web sites resource docs. The problem is about bind I use bind 9.4.1.9.P1.fc7 (fc7 is for fedora 7 I think)
all docs are talking about 3 docs:
named.conf
named.root.hints
named.root
I cannot find named.root find under /usr/share/doc/bind-9.4.1/sample, but all documents it is supposed to be there. And when I copied from server such as:
dig @a.root-servers.net . ns > /home/chroot-dns-int/var/named/root.hints.db
and renamed copied and tried to start names server ,but I got the error:
/etc/named.root.hints:2: '}' expected near ';' [FAILED]
I got stuck on this step, is there anybody help me or recommend a generic setup procedure for Linux DNS ??
Thanks in advance
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi all,
I need to know step by step procedure to configure and to test a dns server on redhatlinux 7.2.
thanks and reg,
bache gowda (4 Replies)
Discussion started by: bache_gowda
4 Replies
2. UNIX for Advanced & Expert Users
I'm trying to configure a DG-UX server to be a DNS client (connecting to a Novell DNS server). I've configured /etc/resolv.conf to reflect the settings for the DNS server, but I don't know what else to do to get the server to resolve DNS names.
Any ideas? (2 Replies)
Discussion started by: soliberus
2 Replies
3. UNIX for Dummies Questions & Answers
Hi,
I would like to create an internal webpage for my company that would only be viewable when connected to the VPN or internal network. I want a webpage like newsite.company.com. Is there a way to do this. We obviously already have www.company.com, but how would I go about creating the newsite.... (1 Reply)
Discussion started by: ejbrever
1 Replies
4. UNIX for Dummies Questions & Answers
Using Redhat Linux Enterprise AS 4
can someone teach me how to setup a dns server for my webserver?
i've registered a domainname at mydomain.com
but when i type in the domain i register i cannot enter to my webserver.
someone told me that it is related with the DNS setting on my server.
i've... (2 Replies)
Discussion started by: kaixiang88
2 Replies
5. Solaris
hey guys, how to add soalris box as a microsoft DNS Client ?
and how to register in the microsoft DNS ??
i managed to query from the DNS server after adding /etc/resolve.conf and editing /etc/nsswitch.conf
but i need to register the soalris server (dns Client) into Microsoft DNS automatically.... (3 Replies)
Discussion started by: mduweik
3 Replies
6. Red Hat
Dear friends ,
I am using Redhat Ent. Linux 5.0 . In RHEL 5 , I want to create two DNS in one server where one DNS is used for Real IP and other DNS is used for private ip .If yes, then plz tell me how I can do it ?
And also , is it necessary to use two lan cards , one for private and other for... (2 Replies)
Discussion started by: shipon_97
2 Replies
7. UNIX for Advanced & Expert Users
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
8. Solaris
Hi Team,
I need to find the clients which are being served by the DNS server in our environment.
The approach currently i am having is to look for the DNS server IP in nameserver IP in the /etc/resolv.conf file in all the servers in our environment.
Do we have any command(s) which gives... (1 Reply)
Discussion started by: vishalaswani
1 Replies
9. Red Hat
Hi
if i want to proper internet dns server that i can save it all report in it that support arpa and failover imean ine one dns give many ip
and have a server web panel for every one that want used to it
is it impossible ?
what service can i used it ?
something for this character
it is... (4 Replies)
Discussion started by: mnnn
4 Replies
10. Solaris
Hi,
We have built a new server (RHEL VM)and added that IP/hostname into dns zone configs file on DNS server (Solaris 10). Reloaded the configuration using
and added nameserver into resolv.conf on client. But when I am trying nslookup, its not getting resolved. The nameserver is not able to... (8 Replies)
Discussion started by: snchaudhari2
8 Replies
LEARN ABOUT FREEBSD
named
named(1M) System Administration Commands named(1M)
NAME
named - Internet domain name server
SYNOPSIS
named [-fgsv] [-c config-file] [-d debug-level] [-n #cpus] [-p port] [-t directory] [-u user] [-x cache-file]
DESCRIPTION
The named utility is a Domain Name System (DNS) server, part of the BIND 9 distribution from ISC. For more information on the DNS, see RFCs
1033, 1034, and 1035.
When invoked without arguments, named reads the default configuration file /etc/named.conf, reads any initial data, and listens for
queries.
OPTIONS
The following options are supported:
-c config-file Use config-file as the configuration file instead of the default /etc/named.conf. To ensure that reloading the configura-
tion file continues to work after the server has changed its working directory due to to a possible directory option in the
configuration file, config-file should be an absolute pathname.
-d debug-level Set the daemon's debug level to debug-level. Debugging traces from named become more verbose as the debug level increases.
-f Run the server in the foreground (that is, do not daemonize).
-g Run the server in the foreground and force all logging to stderr.
-n #cpus Create #cpus worker threads to take advantage of multiple CPUs. If not specified, named will try to determine the number of
CPUs present and create one thread per CPU. If it is unable to determine the number of CPUs, a single worker thread will be
created.
-p port Listen for queries on port port. If not specified, the default is port 53.
-s Write memory usage statistics to stdout on exit.
This option is mainly of interest to BIND 9 developers and might be removed or changed in a future release.
-t directory Change the root directory using chroot(2) to directory after processing the command line arguments, but before reading the
configuration file.
This option should be used in conjunction with the -u option, as chrooting a process running as root doesn't enhance secu-
rity on most systems; the way chroot() is defined allows a process with root privileges to escape a chroot jail.
-u user Set the real user ID using setuid(2) to user after completing privileged operations, such as creating sockets that listen
on privileged ports.
On Linux, named uses the kernel's capability mechanism to drop all root privileges except the ability to use bind(3SOCKET)
to bind to a privileged port and set process resource limits. Unfortunately, this means that the -u option works only when
named is run on kernel 2.2.18 or later, or kernel 2.3.99-pre3 or later, since previous kernels did not allow privileges to
be retained after setuid().
-v Report the version number and exit.
-x cache-file Load data from cache-file into the cache of the default view.
This option must not be used. It is of interest only to BIND 9 developers and might be removed or changed in a future
release.
SIGNALS
In routine operation, signals should not be used to control the nameserver; rndc(1M) should be used instead.
SIGHUP Force a reload of the server.
SIGINT, SIGTERM Shut down the server.
The result of sending any other signals to the server is undefined.
CONFIGURATION
The named configuration file is too complex to describe in detail here. A complete description is provided in the BIND 9 Administrator Ref-
erence Manual.
FILES
/etc/named.conf default configuration file
/var/run/named.pid default process-ID file
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
|Availability |SUNWbind9 |
|Interface Stability |External |
+-----------------------------+-----------------------------+
SEE ALSO
rndc(1M), chroot(2), setuid(2), bind(3SOCKET), attributes(5)
RFC 1033, RFC 1034, RFC 1035
BIND 9 Administrator Reference Manual
NOTES
Source for BIND9 is available in the SUNWbind9S package.
SunOS 5.10 15 Dec 2004 named(1M)