Results 1 to 4 of 4

Thread: DNS ping name

  1. #1
    Join Date
    Jun 2008
    Location
    netherlands
    Posts
    671

    Default DNS ping name

    I have setup a DNS server in openSuse 12.3 x68_64.

    DNSzone : myserver.com
    NS records node1.myserver.com
    records ; recordkey node1 A type Ip4 domain name translation ip address

    Works perfect only when trying to ping I have to type the full name: node1.myserver.com
    How can I change the name so I can ping by typing #ping node1

  2. #2
    Join Date
    Feb 2009
    Location
    Spain
    Posts
    25,547

    Default Re: DNS ping name

    On 2014-05-03 20:36, anton wrote:
    >
    > I have setup a DNS server in openSuse 12.3 x68_64.
    >
    > DNSzone : myserver.com


    If it is a local DNS for your local network, do not use any parent
    domain that exists, like ".com". Use one that does not exist, like
    ".lnet". Otherwise, queries for your local computers will be redirected
    to Internet, outside.

    I mention that because "myserver.com"

    cer@Telcontar:~> host myserver.com
    myserver.com has address 54.224.109.24
    cer@Telcontar:~>

    and it is registered somewhere in Tokyo. Is that you?


    > NS records node1.myserver.com
    > records ; recordkey node1 A type Ip4 domain name translation ip address
    >
    > Works perfect only when trying to ping I have to type the full name:
    > node1.myserver.com
    > How can I change the name so I can ping by typing #ping node1


    That's local to you. The "search" line in "/etc/resolv.conf".

    --
    Cheers / Saludos,

    Carlos E. R.
    (from 13.1 x86_64 "Bottle" at Telcontar)

  3. #3
    Join Date
    Jun 2008
    Location
    netherlands
    Posts
    671

    Default Re: DNS ping name

    Thanks for the warning I have changed the name.

  4. #4
    Join Date
    Feb 2009
    Location
    Spain
    Posts
    25,547

    Default Re: DNS ping name

    On 2014-05-03 21:26, anton wrote:
    >
    > Thanks for the warning I have changed the name.


    Not only the name. Just do not use .com, nor .org, or anything else that
    exist.

    ..local is a typical choice, but it breaks avahi.


    --
    Cheers / Saludos,

    Carlos E. R.
    (from 13.1 x86_64 "Bottle" at Telcontar)

Posting Permissions

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