Results 1 to 2 of 2
  1. #1

    Linux dnsdomainname is it reliable ?

    Hello,

    I wonder if linux comannd "dnsdomainname" which returns domain name of server is important and reliable argument and can't be changed to something like "blablabala" and domain name still works.

    Let's say I want to write redirecting script for customer. This script use "dnsdomainname" as an argument. Can I rely on it ? Is it possible that customer set dnsdomainname or hostane to something meaningless like "myserver" or "blbablabla" and his domain name still works (can access website through domain name and so on...) ?

    Thanks in advence.

  2. #2

    dnsdomainname

    Well if I run it from one server it just returned the tld part of the domain name, so I guess it is only as reliable as the setup is (hostname properly entered in operating system).

    When I tried from another, it returned the domain name but not the host name ( I think it should do that).

    <<Signature to be setup in your profile>>
    Last edited by anon-e-mouse; 01-21-2014 at 06:12 PM.

Similar Threads

  1. Linux Tech Networks: Reliable Linux admin and server monitoring since 2002
    By whmcsguru in forum Systems Management Offers
    Replies: 0
    Last Post: 03-20-2011, 05:16 PM
  2. in need of Reliable Linux Hosting
    By dirtydoug in forum Web Hosting
    Replies: 17
    Last Post: 08-07-2009, 12:20 PM
  3. Linux Tech Networks - Experienced, Reliable Linux Administration
    By whmcsguru in forum Employment / Job Offers
    Replies: 0
    Last Post: 01-18-2007, 09:32 AM
  4. Linux Tech Networks - Affordable, Reliable Linux Admin
    By whmcsguru in forum Employment / Job Offers
    Replies: 0
    Last Post: 03-06-2006, 04:51 PM
  5. Linux Tech Networks - Affordable, Reliable Linux Administration!
    By whmcsguru in forum Employment / Job Offers
    Replies: 0
    Last Post: 11-20-2005, 02:55 PM

Posting Permissions

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