internal ip showing for DNS

just got ehcp up and running today.
great program
my problem is that after i went home tonite and tryed to access site i go "page cant be displayed"
when i went to ping it shows the internal ip of my server instead of external.
i can still log into the control panel using my external ip and every thing works

dont know what happened but i did a sync dns and it fixed it