Operating System - Linux
1827810 Members
1893 Online
109969 Solutions
New Discussion

why i can not dig mydomain.com in localhost,unless remote?

 
SOLVED
Go to solution

why i can not dig mydomain.com in localhost,unless remote?

as guess out by kodjo,
i want to make one DNS server my virtualhost,
i make the BIND running at last,
but i also can not dig or query the the dns by my named service, until i do the same thing by remote machine.

if i want to guest on local, where is the keypoint?

thanks for your tips,
frederick
frederick
3 REPLIES 3
Bill Thorsteinson
Honored Contributor
Solution

Re: why i can not dig mydomain.com in localhost,unless remote?

Check to see if Bind is listening on the localhost
interface (127.0.0.1).
U.SivaKumar_2
Honored Contributor

Re: why i can not dig mydomain.com in localhost,unless remote?

Hi,
put this line in /etc/resolv.conf of the DNS server.
nameserver 127.0.0.1
regards,
U.SivaKumar
Innovations are made when conventions are broken
U.SivaKumar_2
Honored Contributor

Re: why i can not dig mydomain.com in localhost,unless remote?

Hi,
It is bad that you are not assigning any points to people who help you.

regards,
U.SivaKumar
Innovations are made when conventions are broken