Find the answer to your Linux question:
Results 1 to 2 of 2
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    DNS name not getting resolved


    Hi;

    I am having a linux PC which I want to isolate from the windows network. For that purpose I did the following

    1. On sonicwall NSA 240 X2 Interface created a DMZ with the IP 192.168.168.1

    On the linux PC the various config is as given below

    Resolve.Conf
    # Generated by NetworkManager
    nameserver 213.42.20.20


    Interfaces

    # This file describes the network interfaces available on your system
    # and how to activate them. For more information, see interfaces(5).
    #The loopback network interface
    auto lo
    iface lo inet loopback
    auto eth0
    iface
    eth0 inet static
    address 192.168.168.107
    netmask 255.255.255.0
    broadcast 192.168.168.255
    gateway 192.168.168.1
    dns-nameservers 213.42.20.20

    Hosts
    127.0.0.1 localhost
    127.0.1.1
    debianrex2.debianrex2 debianrex2

    # The following lines are desirable for IPv6 capable

    hosts
    ::1 localhost ip6-localhost ip6-loopback
    ff02::1 ip6-allnodes
    ff02::2 ip6-allrouters

    My problem is that I am not able to access internet. When I try to ping to the IP address of google.com; yahoo.com I get successful result but when I try to ping with the name I am not able to ping and so not able to access the internet

  2. #2
    Linux Engineer
    Join Date
    Apr 2012
    Location
    Virginia, USA
    Posts
    963
    Try setting DNS to 8.8.8.8. That's one of Google's free DNS systems.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •