cancel
Showing results for 
Search instead for 
Did you mean: 

DNS not resolving internal

Ayanda
Occasional Contributor

DNS not resolving internal

We have a dns server which is
not resolving for internal IP adresses but for extenal domains it does , what could be the problem ??
If anyone is in Christ , he is a new creature the Old has gone , The new has come
2 REPLIES
Steve Steel
Honored Contributor

Re: DNS not resolving internal

Hi

Check it with nslookup ls command. see below

It must be setup wrongly

Also see /etc/resolv.conf and /etc/nsswitch.conf (man switch)

nslookup
Default Name Server: saccond
Address: 15.195.144.26

> ?
Commands: (identifiers are shown in uppercase, [] means optional)
NAME - print info about the host/domain NAME using default server
NAME1 NAME2 - as above, but use NAME2 as server
exit - exit the program, ^D also exits
finger [USER] - finger the optional NAME at the current default host
help or ? - print info on common commands; see nslookup(1) for details
ls [opt] DOMAIN [> FILE] - list addresses in DOMAIN (optional: output to FILE)
-a - list canonical names and aliases
-h - list HINFO (CPU type and operating system)
-s - list well-known services
-d - list all records
-t TYPE - list records of the given type (e.g., A,CNAME,MX, etc.)
policy - print switch policy information
root - set current default server to the root
server NAME - set default server to NAME, using current default server
lserver NAME - set default server to NAME, using initial server
reset - lookups use the switch policy; resets DNS servers
set OPTION - set an option
all - print options, current server and host
[no]debug - print debugging information
[no]d2 - print exhaustive debugging information
[no]defname - append domain name to each query
[no]swtrace - print source lookup and source switch messages
[no]recurse - ask for recursive answer to query
[no]vc - always use a virtual circuit
domain=NAME - set default domain name to NAME
srchlist=N1[/N2/.../N6] - set domain to N1 and search list to N1,N2, etc.
root=NAME - set root server to NAME
retry=X - set number of retries to X
timeout=X - set time-out interval to X
querytype=X - set query type, e.g., A,ANY,CNAME,HINFO,MX,NS,PTR,SOA,WKS
type=X - synonym for querytype
class=X - set query class to one of IN (Internet), CHAOS, HESIOD or ANY

view FILE - sort an 'ls' output file and view it with more
>


Steve Steel
If you want truly to understand something, try to change it. (Kurt Lewin)
Jordan Bean
Honored Contributor

Re: DNS not resolving internal


It almost sounds like the reverse zones (d.c.b.a.in-addr.arpa.) for the internal network have not been setup.

In DNS, you always have one zone to resolve names to IPs (A records) and another to resolve IPs to names (PTR records).