[Maas-devel] juju's private-address, DNS, MAAS and postgresql

Andreas Hasenack andreas at canonical.com
Mon Nov 11 11:23:25 UTC 2013


On Mon, Nov 11, 2013 at 12:00 AM, Julian Edwards <
julian.edwards at canonical.com> wrote:

> On 09/11/13 03:56, Gavin Panella wrote:
> >> What about the /etc/hosts entry pointing the machine name to 127.0.1.1,
> do
> >> you know what adds that? Is it juju? Without that entry, it also works.
> >
> > I think this is just the usual setting-the-hostname stuff: MAAS will
> > pass in the configured hostname (instead of the generated one) to the OS
> > installer, which sets the hostname accordingly, and adds an /etc/hosts
> > line so that traffic destined for itself (by name) gets routed via the
> > lo interface. Someone else - roaksoax or smoser most likely - will have
> > to confirm or correct that explanation.
>
>
> http://www.debian.org/doc/manuals/debian-reference/ch05.en.html#_the_hostname_resolution
>
> It's correct policy to have that entry, it seems.
>
>
Yeah, maybe. There is also this remark:
"For a system with a permanent IP address and a fully qualified domain name
(FQDN) <http://en.wikipedia.org/wiki/FQDN> provided by the Domain Name
System (DNS) <http://en.wikipedia.org/wiki/Domain_Name_System>, that
canonical <host_name>.<domain_name> should be used instead of just
<host_name>."


The *feels* like a bug in PG or its charm, to me.  Having said that I
> did suggest once that we return IPs from MAAS's API instead of hostnames
> but that was shot down.  I can't remember why, though.  Gavin?
>
>
I think it's incorrect to return the CNAME, and have it be the hostname of
the machine. It would be like having the www.company.com host have an
actual "www.company.com" hostname.

I'll search around what other systems to when hostnames are used for access
control, if they do the sort of lookup that postgresql does or not.



>
>
> --
> Mailing list: https://launchpad.net/~maas-devel
> Post to     : maas-devel at lists.launchpad.net
> Unsubscribe : https://launchpad.net/~maas-devel
> More help   : https://help.launchpad.net/ListHelp
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/maas-devel/attachments/20131111/0eb1eb1d/attachment.html>


More information about the Maas-devel mailing list