Wrong dhcp server name

Help with issues regarding installation of Debian

Wrong dhcp server name

Postby Haines » 2020-08-01 18:18

When I reinstalled on a new HD, the installer menu gets to Configure Network. Automatic configuration is successful. When it asks for domain name, usually my ISP's name (frontier.com) is present by default. This time however
was blank. So I typed in my domain name (histomat.net) by mistake. Now my outgoing mail is rejected.

SMTP error from remote mail server after pipelined end of data:
554 5.7.1 <haines@engels.histomat.net>: Sender address rejected:
550 5.7.1 You may only send email with a sender domain hosted on this network

My fqdn is correct:

$ hostname --fqdn

But not my domain:

$ hostname -d
should be frontier.com

$ domainname -A
should be engels@frrontier.com
but by attempt to fix things changed it to
engels.frontier.com engels

$ hostname -d
should be frontier.com


My /etc/resolv.conf file is correct:

domain frontier.com
search frontier.com

My /etc/ file is also correct: localhost engels.histomat.net engels

My question how to change hostname to frontier.com. I've tried all sorts of things.

Running # /etc/init.d/hostname.sh start did nothing. One of the things I tried was to boot my installation key and raise the Network menu. This time it displayed the domain name frontier.com by default.. I quit the installer and this info was not written to disk.
Posts: 7
Joined: 2014-07-29 01:57

Re: Wrong dhcp server name

Postby Head_on_a_Stick » 2020-08-02 15:16

Have you tried hostnamectl(1)?
Black Lives Matter

Debian buster-backports ISO image: for new hardware support
User avatar
Posts: 12650
Joined: 2014-06-01 17:46
Location: /dev/chair

Return to Installation

Who is online

Users browsing this forum: No registered users and 9 guests