fqdn

How can I get the FQDN of the current host in Ruby?

I need to get the fully expanded hostname of the host that my Ruby script is running on. In Perl I've used Sys::Hostname::Long with good results. Google seems to suggest I should use Socket.hostname in ruby, but that's returning just the nodename, not the full hostname. ...

NetBIOS vs. FQDN

Hi! I've got an issue when accessing a web site, I can access it by using the NetBIOS name, but when accessing with the FQDN i get an error. Any ideas on how to troubleshoot this? (There is no DNS configured yet, we have modified the Hosts file to enter the related names and IP.) ...

Translating NETBIOS domain into a FQDN (Fully Qualified Domain Name)

In short - How do I translate a NETBIOS domain to a FQDN ? Details: Assuming I'm in domain A and I have user credentials for domain B which has a trust relationship with domain A (I can authenticate the credentials). How do I get domain B's FQDN when all I have are the credentials of some authenticated user from that domain, including t...

Sorting domain names

Has anyone implemented sorting a list of domain names? I have seen some applications sort them as flat strings, but the problem is that you end up scattering all the related hosts in a domain: a.me.com a.you.com b.me.com b.you.com So, the basic logic I came up with reverse the order of the labels, then sort. FQDNs of one label should...

Get unqualified host name in .NET

Is there a .NET equivalent to the winsock function GetNameInfoW() with the NI_NOFQDN flag set? As the MSDN docs for GetNameInfoW explain: Setting the NI_NOFQDN flag results in local hosts having only their Relative Distinguished Name (RDN) returned in the pNodeBuffer parameter. The closest thing I can find is System.Net.Dns.GetHost...

Does anyone know a way to get the FQDN of local machine in C#?

How can you get the FQDN of a local machine in C#? ...

Where can I get FQDN in my local set-up?

Hi Experts, I would like to ask where to get the FQDN in my local Set-up having a Windows Server 2003 as my Server and having a multiple clients connected and enrolled in Server's DHCP? This problem occured, when my clients runs a certain application which one of its parameters is the FQDN of the Server... I'm totally lost, very very ...

How should I get the fully qualified domain name of "localhost" in c++ (on ubuntu)?

I've been messing around with getaddrinfo and getnameinfo but the closest I got to useful output was "localhost.localdomain". I'm not sure what to pass in for the "node" or "service" args of getaddrinfo, although I think it's the function I want. ...

validate hostname string in Python

Following up to Regular expression to match hostname or IP Address? and using Restrictions on valid host names as a reference, what is the most readable, concise way to match/validate a hostname/fqdn (fully qualified domain name) in Python? I've answered with my attempt below, improvements welcome. ...

SMTP Fully-qualified domain name configuration

Hi everyone, I have trouble with receiving of email from from my SMTP to internal (the same domain) email. I mean that when I sent email from my [email protected] email to private email [email protected] this email was delivered. But when I sent from [email protected] to [email protected] this email was not delivered. T...