ONTAP Discussions

Add a DNS domain error

Gavan4
3,345 Views

Hi,

I am trying to add a DNS domain and name servers and it fails with "The data interface for the storage vm does not exist. Add a data interface, and configure DNS again"

I created data interfaces on both SVMs, on all FC ports, still same error

1 ACCEPTED SOLUTION

TMACMD
3,318 Views

VSERVER: dr_svm0 

This SVM only has FC Data LIFs. There are NO IP data LIFs. How do you expect the SVM to contact the DNS IPs if there is no IP address fro the SVM? Then after you create the DATA LIF, you may need to create a route and finally, if everything is good, you can create the dns servers

 

network interface create -vserver dr_svm0 -lif mgmt-home-node FAS8300-01 -auto-revert true -failover-policy broadcast-domain-wide -service-policy default-management -address 192.168.162.XXX -netmask-length 24  -home-port e0M -status-admin up -failover-policy broadcast-domain-wide -firewall-policy mgmt 

route create -vserver dr_svm0 -destination 0.0.0.0/0 -gateway 192.168.162.XXX 

dns creat -vserver dr_svm0 -domains bdbc.local -name-servers 192.168.172.30, 192.168.132.30
  

 Obviously you need to correct the IP address for the LIF and then again for the gateway.

View solution in original post

4 REPLIES 4

TMACMD
3,329 Views

Show us:

net int show -vserver xxx

route show -vserver xxx

dns show -vserver xxx

(where xxx is the vserver you are trying to add dns)

 

Something is not making sense in your statement

 

Gavan4
3,315 Views

Hi, I was trying to add DNS to the 2 svms dr_svm0 dr_svm1

With the commands you told me to execute, it looks like DNS and name servers were already added to the FAS8300.

 

FAS8300::*> net int show -vserver
Cluster FAS8300 FAS8300-01 FAS8300-02 dr_svm0 dr_svm1

FAS8300::*> net int show -vserver dr_svm0
(network interface show)
Logical Status Network Current Current Is
Vserver Interface Admin/Oper Address/Mask Node Port Home
----------- ---------- ---------- ------------------ ------------- ------- ----
dr_svm0
lif_dr_svm0_21 up/up 20:03:d0:39:ea:98:1c:a6 FAS8300-02 0e true
lif_dr_svm0_701 up/up 20:04:d0:39:ea:98:1c:a6 FAS8300-02 0f true
lif_dr_svm0_843 up/up 20:02:d0:39:ea:98:1c:a6 FAS8300-01 0e true
lif_dr_svm0_936 up/up 20:01:d0:39:ea:98:1c:a6 FAS8300-01 0f true
4 entries were displayed.

FAS8300::*> route show -vserver dr_svm0
There are no entries matching your query.

-instance -domains
-name-servers -timeout
-attempts -is-tld-query-enabled
-require-source-address-match -require-packet-query-match
-fields
FAS8300::*> dns show -vserver FAS8300

Vserver: FAS8300
Domains: bdbc.local
Name Servers: 192.168.172.30, 192.168.132.30
Timeout (secs): 2
Maximum Attempts: 1
Is TLD Query Enabled?: true
Require Source and Reply IPs to Match: true
Require Packet Queries to Match: true

FAS8300::*> net int show -vserver FAS8300
(network interface show)
Logical Status Network Current Current Is
Vserver Interface Admin/Oper Address/Mask Node Port Home
----------- ---------- ---------- ------------------ ------------- ------- ----
FAS8300
FAS8300-01_mgmt1 up/up 192.168.162.202/24 FAS8300-01 e0M true
FAS8300-023519 up/up 192.168.162.205/24 FAS8300-02 e0M true
FAS8300-02_mgmt up/up 192.168.162.203/24 FAS8300-02 e0M true
cluster_mgmt up/up 192.168.162.201/24 FAS8300-01 e0M true
4 entries were displayed.

FAS8300::*> route show -vserver FAS8300
Vserver Destination Gateway Metric
------------------- --------------- --------------- ------
FAS8300
0.0.0.0/0 192.168.162.1 20

TMACMD
3,319 Views

VSERVER: dr_svm0 

This SVM only has FC Data LIFs. There are NO IP data LIFs. How do you expect the SVM to contact the DNS IPs if there is no IP address fro the SVM? Then after you create the DATA LIF, you may need to create a route and finally, if everything is good, you can create the dns servers

 

network interface create -vserver dr_svm0 -lif mgmt-home-node FAS8300-01 -auto-revert true -failover-policy broadcast-domain-wide -service-policy default-management -address 192.168.162.XXX -netmask-length 24  -home-port e0M -status-admin up -failover-policy broadcast-domain-wide -firewall-policy mgmt 

route create -vserver dr_svm0 -destination 0.0.0.0/0 -gateway 192.168.162.XXX 

dns creat -vserver dr_svm0 -domains bdbc.local -name-servers 192.168.172.30, 192.168.132.30
  

 Obviously you need to correct the IP address for the LIF and then again for the gateway.

Gavan4
3,279 Views

it worked! thanks for your tips!

Public