There are records of the town of Dubai from 1799 .
Since 1799 , there has been a settlement known as Dubai town .