diff --git a/config/config_test.go b/config/config_test.go
index c0cc9a3bab..eebea6e72f 100644
--- a/config/config_test.go
+++ b/config/config_test.go
@@ -83,7 +83,7 @@ var expectedConf = &Config{
 
 			RelabelConfigs: []*RelabelConfig{
 				{
-					SourceLabels: model.LabelNames{"job", "__meta_dns_srv_name"},
+					SourceLabels: model.LabelNames{"job", "__meta_dns_name"},
 					TargetLabel:  "job",
 					Separator:    ";",
 					Regex:        MustNewRegexp("(.*)some-[regex]"),
diff --git a/config/testdata/conf.good.yml b/config/testdata/conf.good.yml
index b26f4ca785..c1d11d6979 100644
--- a/config/testdata/conf.good.yml
+++ b/config/testdata/conf.good.yml
@@ -39,7 +39,7 @@ scrape_configs:
       your: label
 
   relabel_configs:
-  - source_labels: [job, __meta_dns_srv_name]
+  - source_labels: [job, __meta_dns_name]
     regex:         (.*)some-[regex]
     target_label:  job
     replacement:   foo-${1}