Fix bug 1074: Get NS Configuration from database