adding the domain lookup route function