0

How to add record in dns using c#, currently i am trying to use below code, but no luck.

Manage DNS server by C# code

AddARecord("dns01.iaxus.com", "iaxus.com", "10.0.0.20", "14.145.101.55");

where 14.145.101.55 is my wan ip.

its throwing below error:

The RPC server is unavailable. (Exception from HRESULT: 0x800706BA)
desertnaut
  • 57,590
  • 26
  • 140
  • 166
J R B
  • 2,069
  • 4
  • 17
  • 32

1 Answers1

0

try running your application as administrator if that doesn't work then try disabling your firewall and then run as administrator.

amit dayama
  • 3,246
  • 2
  • 17
  • 28