I'm configuring a 14.04 lts server without network manager installed.

I set in `/etc/dhcp/dhclient.conf`:

```
send host-name "os-vps276.projet-okinawa.org";
supersede domain-name "projet-okinawa.org";

```

I set in `/etc/hosts`

```
127.0.0.1 os-vps276.projet-okinawa.org test.projet-okinawa.org localhost

```

and `os-vps276` is set in `etc/hostname`.

When I ask `hostname` by using Terminal I got the hostname `os-vps276`, but
when I ask `hostname -f` I got an error `hostname: Name or service not known`.

Do I need to set a static ip address or set my dhcp ip and corresponding server.domain.name in my hosts configuration file ? (that has the same effect as an administrative point of view).

My goal was to get everything from the dhcp except the domain name I would like to set by myself.

Is it possible?