kkkgo / dnspod-ddns-with-bashshell

The Dnspod DDNS with BashShell
272 stars 94 forks source link

@记录在nslookup时会有问题 #12

Closed xmt328 closed 3 years ago

xmt328 commented 4 years ago

问题应该出在22行DNSTEST=$($dnscmd $host.$domain) 会被拼接成@.$domain 导致nslookup查不到ip

苦于没写过shell脚本不知道这个时候暴力if会不会有问题,就不提PR了。。。