hack to handle ip-only value for the domain