<commit_before># DNS SRV Records

confd can get a list of backend nodes via SRV records. 

## Examples 

### etcd

```
dig SRV _etcd._tcp.confd.io
```

```
... 
;; ANSWER SECTION:
_etcd._tcp.confd.io.  300 IN  SRV 1 50 4001 etcd0.confd.io.
_etcd._tcp.confd.io.  300 IN  SRV 2 50 4001 etcd1.confd.io.
```

```
confd -backend etcd -srv-domain confd.io
```

### consul

```
dig SRV _consul._tcp.confd.io
```

```
...
;; ANSWER SECTION:
_consul._tcp.confd.io.  300 IN  SRV 1 50 8500 consul.confd.io.
```

```
confd -backend consul -srv-domain confd.io
```

```

## The backend scheme

By default the `scheme` will be set to http. If you would like to use https instead use the `-scheme` flag
<commit_msg>update dns srv docs<commit_after># DNS SRV Records

confd can get a list of backend nodes via SRV records. 

## Examples 

### etcd

```
dig SRV _etcd._tcp.confd.io
```

```
...
;; ANSWER SECTION:
_etcd._tcp.confd.io.	300	IN	SRV	1 100 4001 etcd.confd.io.
```

```
confd -backend etcd -srv-domain confd.io
```

### consul

```
dig SRV _consul._tcp.confd.io
```

```
...
;; ANSWER SECTION:
_consul._tcp.confd.io.	300	IN	SRV	1 100 8500 consul.confd.io.
```

```
confd -backend consul -srv-domain confd.io
```

```

## The backend scheme

By default the `scheme` will be set to http. If you would like to use https instead use the `-scheme` flag

{'fraction_non_alphanumeric': 0.15424739195231, 'fraction_numerical': 0.040238450074515646, 'mean_word_length': 3.0945121951219514, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6503458', 'n_tokens_mistral': 620, 'n_tokens_neox': 546, 'n_words': 167}