To my knowledge, it will do this already "out of the box". If a router doesn't have synchronization to a known good clock source, it will refuse to answer queries from other devices. You would configure "ntp master" to override this, to force the router to consider its own clock good enough, but this is not the default.