1830080 Members
27432 Online
109998 Solutions
New Discussion

Re: DNS Problem

 
tuhin
Occasional Advisor

DNS Problem

i have a dns entry in my master db file;
ns ns.lx01.com.
mx 10 mail.lx01.com.
@ A 123.123.1.4 (**)
ns A 123.123.123.4
mail CNAME ns
localhost 127.0.0.1 (**)

my Q is ,
do i need to add an dns entry
of my dnsdomainname
'lx01.com'. say @ A 123.12.3.123.4 .
and is localhost or localhost with end with (.).

pls confirm me thost ** is correct or not and how this will entered.

2 REPLIES 2
Sachin Patel
Honored Contributor

Re: DNS Problem

Hi Tuhin,

If you add following line as first line in your db file then you don't have to add dnsdomainname at every line.

$ORIGIN lx01.com.

Then you can add systemname without domainname

sachin IN A 123.123.123.10

In this case dns will automatically add lx01.com at end of sachin. sachin.lx01.com

This is your forward lookup.

No do not add 127.0.0.1 because every system has there hosts file for it.

Sachin
Is photography a hobby or another way to spend $
tuhin
Occasional Advisor

Re: DNS Problem

actually, u r right.
but if i dont add an entry (lx01.com. IN A 123.123.123.1)
then my nslookup cant find any lx01.com. but nslookup can find ns.lx01.com or mail.lx01.com.
so do i need to add this (lx01.com. in a 123.123.123.1
or @ in a 123.123.123.1.)