Sponsored Content
Top Forums UNIX for Dummies Questions & Answers Help me setting up dns and understanding it. Post 302913457 by bakunin on Sunday 17th of August 2014 08:55:09 AM
Old 08-17-2014
You might want to start telling us a bit about your environment: which OS you do use, which nameserver software you do use (perhaps bind, but first this is not a given and second there are different versions of bind which have to be configured differently).

In the meantime, here is a small introduction i wrote a while ago. You may want to read it first and then ask, if you still have questions.

I hope this helps.

bakunin
This User Gave Thanks to bakunin For This Post:
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Setting Up Dns Server In Bsd

I just learning BSD So how would you go about setting up a DNS server please explain like A,B,C I am a new very new UNIX users so any help would be great thanks :( :confused: (1 Reply)
Discussion started by: BSD_NEWUSER
1 Replies

2. Linux

setting primary dns

Hi, I am running Fedora 7. I seem to remember there being a command to determine the primary dns. Can anyone help me find out what it is? Thanks! (2 Replies)
Discussion started by: user23
2 Replies

3. Solaris

Setting up local DNS Server

Hi , Could some one please share some docs or steps to set up solaris box as a local DNS . Thx (1 Reply)
Discussion started by: skamal4u
1 Replies

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

5. Red Hat

dhcp not setting dns and changing to garbage

I have 2 problems. Dhcp is not setting dns and after I manually set my dns it changes to garbage. I literally just used command to set dns which is a good copy of resolv.conf: sudo cp /home/bob/Desktop/scripts_9-12-2011/resolv.conf /etc/resolv.confHere is a copy of my resolv.conf. #... (5 Replies)
Discussion started by: cokedude
5 Replies

6. Red Hat

DHCP & DNS - Clients get IP but don't register in DNS

I am trying to setup a CentOS 6.2 server that will be doing 3 things DHCP, DNS & Samba for a very small office (2 users). The idea being this will replace a very old Win2k server. The users are all windows based clients so only the server will be Linux based. I've installed CentOS 6.2 with... (4 Replies)
Discussion started by: FireBIade
4 Replies

7. Linux

Setting up slave DNS?

can someone point me in the right direction im trying to setup a Slave dns server this is my named.conf file zone "website1.org" { type slave; file"mydb-for-website1-org"; notify NO; };and this is my var/named/mydb-for-website1-org $TTL 3D @ IN SOA ... (1 Reply)
Discussion started by: gangsta
1 Replies

8. Shell Programming and Scripting

Understanding PATH variable setting?

I do know how we set the PATH variable- export PATH=$JAVA_HOME/bin:$PATH I'm trying to understand why we have written :$PATH in the end above statement. What is it's meaning? (2 Replies)
Discussion started by: boy18nj
2 Replies

9. Ubuntu

Network Manager not setting correct DNS servers

Since a few weeks i use Ubuntu 16 on my laptop: # uname -a Linux xxxx 4.8.0-52-generic #55~16.04.1-Ubuntu SMP Fri Apr 28 14:36:29 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux Because i want to use a custom name server i set the properties in the "Edit Connections" dialogue to the following: ... (2 Replies)
Discussion started by: bakunin
2 Replies

10. Solaris

DNS client added to DNS server but not working

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

NAME
query, mkhash, mkdb, cs, csquery, dns, dnsquery - network database SYNOPSIS
ndb/query attr value [ rattr ] ndb/mkhash file attr ndb/cs [ -n ] [ -f dbfile ] ndb/csquery ndb/dns [ -s ] [ -f dbfile ] ndb/dnsquery ndb/mkdb DESCRIPTION
The network database holds administrative information used by network programs such as bootp(8), ipconfig(8), con(1), etc. Ndb/query searches the database for an attribute of type attr and value value. If rattr is not specified, all entries matched by the search are returned. If rattr is specified, the value of the first pair with attribute rattr of all the matched entries is returned. Ndb/mkhash creates a hash file for all entries with attribute attr in database file file. The hash files are used by ndb/query and by the ndb library routines. Ndb/cs is a server used by dial(2) to translate network names. Option -f supplies the name of the data base file to use, default /lib/ndb/local. It is started at boot time. It finds out what networks are configured by looking for /net/*/clone when it starts. It can also be told about networks by writing to /net/cs a message of the form: add net1 net2 ... Ndb/cs also sets the system name in /dev/sysname if it can figure it out. Option -n causes cs to do nothing but set the system name. Ndb/csquery can be used to query ndb/cs to see how it resolves addresses. Ndb/csquery prompts for addresses and prints out what ndb/cs returns. Ndb/dns is a server used by ndb/cs and by remote systems to translate Internet domain names. Ndb/dns is started at boot time. By default dns serves only requests written to /net/dns. Option -s causes the server to also answer domain requests sent to UDP port 53. Name reso- lution is performed by searching the local database and by querying remote servers. The server for a domain is indicated by a database entry containing both a dom and a ns attribute. For example, the entry for the Internet root is: dom= ns=ns.nic.ddn.mil ns=kava.nisc.sri.com ns=aos.brl.mil The root of a domain subtree served by the local database is indicated by an entry with an soa attribute. For example, the AT&T research domain is: dom=research.att.com soa mb=ches.research.att.com ns=inet.research.att.com ns=research.research.att.com Here, the mb entry is the mail address of the person responsible for the domain (default postmaster). Wild-carded domain names can also be used. For example, to specify a mail forwarder for all AT&T research systems: dom=*.research.att.com mx=research.att.com Ndb/dnsquery can be used to query ndb/dns to see how it resolves requests. Ndb/dnsquery prompts for commands of the form domain-name request-type where request-type can be ip, mx, ns, cname, ptr.... In the case of the inverse query type, ptr, dnsquery will reverse the ip address and tack on the .in-addr.arpa for you. Ndb/mkdb is used in concert with awk(1) scripts to convert uucp systems files, IP host files, and Datakit configuration files into database files. It is very specific to the situation at Murray Hill. When the database files change underfoot, ndb/cs and ndb/dns track them properly. Nonetheless, to keep the database searches efficient it is necessary to run ndb/mkhash whenever the files are modified. It may be profitable to control this by a frequent cron(8) job. EXAMPLES
% ndb/query sys helix sys=helix dom=helix.research.att.com bootf=/mips/9powerboot ip=135.104.117.31 ether=080069020427 dk=nj/astro/helix proto=il % ndb/query sys helix ip 135.104.117.31 % ndb/dnsquery > 9net.research.att.com ip 9net.research.att.com ip 192.20.225.252 > 192.20.225.252 ptr 252.225.20.192.in-addr.arpa ptr 9net.research.att.com > FILES
/lib/ndb/local first database file searched /lib/ndb/local.* hash files for /lib/ndb/local /srv/cs service file for ndb/cs /net/cs where /srv/cs gets mounted /srv/dns service file for ndb/dns /net/dns where /srv/dns gets mounted SOURCE
/sys/src/cmd/ndb SEE ALSO
ndb(2) ndb(6) NDB(8)
All times are GMT -4. The time now is 11:27 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy