I also encountered this problem. It looks like gnome-session always asks a name server about the ipv6- and ip-adress of the host. Removing the domainname-part in the hosts file seems to fix the problem.
I also encountered this problem. It looks like gnome-session always asks a name server about the ipv6- and ip-adress of the host. Removing the domainname-part in the hosts file seems to fix the problem.