I registered a dns name from dynamicdns.org with my home IP (myname.homelinux.come). What I want to do is to join my fedora to this domain name. so i can see this machine as "fedora.myname.homelinux.com"

Not sure which file I need to modify. I edited: /etc/resolv.conf
search myname.homelinux.com // is this correct?
nameserver 127.0.0.1
nameserver 192.168.1.1

when i do "hostname" it returned "fedora" // seems right
when i do "#domainname" it returned "myname.homelinux.com" // seems right?
when i do "#hostname --fqdn" it returned "hostname: Unknown host" // how come?


thanks

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.