DNS Failure - domain control panel only accepts url as dns

Solution 1:

The secret trick you are looking for is a glue record, which means that the two domain names for you nameserver (ns1.rafsanjani.ir and ns2.rafsanjani.ir) has to be placed in the zone of .ir.

Also see Wikipedia's entry on glue records.

Solution 2:

Who ever registered the domain for you needs to provide Glue records for the name servers to work. Once these are setup, your DNS will point to your BIND install and start working.