How do I determine my FQDN?

Stupid question but I'm having a hard time finding a simple, straightforward answer to this question.

If my /etc/hosts file contained my server's IP address, DNS name (""), and hostname ("diamond"), e.g. localhost debian diamond

would my FQDN be ""?


6 Replies

If you want your FQDN to be, then your hosts file entry would be: diamond

Which means both AND it's alias diamond resolves to … hostnames/">

Thank you but that doesn't quite answer my question. I don't want my FQDN to be "". I just want to know how to determine what it actually is at the present time and I thought providing my hosts file would provide the necessary information. Is my FQDN for the given hosts file just ""?

Thanks again.

The FQDN is whatever you define it as. Whatever is presently in your hosts file would be that FQDN. (Most likely something else than

Thanks everyone for your answers!

Use only your system mark in ddclient So in the event that you have the system named as "Home" in your Dashboard, at that point the "hostname" in ddclient would be only that, "Home". I've tried ddclient with both my secret key cited and unquoted and had no issues. I would prescribe running "ddclient - troubleshoot - verbose - noquiet - power" and check the yield. It should let you know all that you have to know to make sense of what's happening. We don't do any definitive or dynamic DNS facilitating so there is no FQDN for you to point to or at.


Please enter an answer

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct