Set ttl for localhost ip