Clearly I don’t know much about DNS, so bear with me on this issue, which has been puzzling me me for a while.
Some WHOIS records show (say) ns1.example.com and ns2.example.com as name servers for example.com. Then how is the actual IP address found? Isn’t this circular?
This question probably belongs on Severfault rather than Stackoverflow, but for the explanation you should read about glue records.
There is also a nice explanation in this FAQ.