Find the answer to your Linux question:
Results 1 to 2 of 2
i set up a dns server. it works normally. but when i issue the command 'dnsdomainname' , nothing is displayed on screen . anyone can tell me why? and what ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    May 2004
    Posts
    2

    why does 'dnsdomainname' show nothing?


    i set up a dns server. it works normally.
    but when i issue the command 'dnsdomainname' , nothing is displayed on screen .
    anyone can tell me why? and what should i do in order to get the correct display of dns domainname?

  2. #2
    Just Joined!
    Join Date
    Mar 2004
    Posts
    30
    In your hostfile add:

    /etc/hosts

    192.168.0.1 dns.myhost.com dns

    Change the ip address and the long and short names.... and you are done.

    Richard

Posting Permissions

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