DNS not being populated in resolv.conf

Tom H tomh0665 at gmail.com
Mon Nov 29 12:15:02 UTC 2010


On Mon, Nov 29, 2010 at 6:39 AM, Kaushal Shriyan
<kaushalshriyan at gmail.com> wrote:
> On Mon, Nov 29, 2010 at 5:00 PM, Tom H <tomh0665 at gmail.com> wrote:
>>
>> What's the output of
>> host -v off.example.com
>
> kaushal at kaushal-laptop:~$ host -v off.example.com
> ;; QUESTION SECTION:
> ;off.example.com.            IN    A
> ;; ANSWER SECTION:
> off.example.com.        86400    IN    A    PUBLICIP
> Received 32 bytes from 10.20.0.1#53 in 287 ms
>
> kaushal at kaushal-laptop:~$ cat /etc/resolv.conf
> nameserver 10.20.0.1
> search dc1.example.com off.example.com

So your resolv.conf is now different from previously posted and host
is querying 10.20.0.1.

"dig @10.20.0.1 office_server" should now return office-server's ip address.

Can you now access the servers that you couldn't before?




More information about the ubuntu-users mailing list