One is gwybod, which refers to knowing facts or information, and the other is adnabod / nabod, which refers to knowing or recognising a person or place. In literary Welsh, adnabod is the form of this word used. However, in colloquial Welsh, you will much more often hear nabod, whilst adnabod is used only to mean specifically recognising.
See Cached Version