# Defining name on host network

**URL:** <https://forums.mobyproject.org/t/defining-name-on-host-network/349>\
**Category:** Support\
**Created:** [January 16, 2019, 9:10am UTC](https://forums.mobyproject.org/t/defining-name-on-host-network/349 "2019-01-16T09:10:08Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![lukicsl](https://avatars.discourse-cdn.com/v4/letter/l/dfb087/32.png) [@lukicsl](https://forums.mobyproject.org/u/lukicsl)\
**Post date:** [January 16, 2019, 9:10am UTC](https://forums.mobyproject.org/t/defining-name-on-host-network/349/1 "2019-01-16T09:10:08Z")

</div>

setup:  
docker swarm 3 raspberry pi 3b+, hypriot  
docker version 18.09.0, build 4d60db4  
host network : 192.168.3.0/24

creating networks:

```auto
docker network create --config-only --subnet="192.168.3.0/24" --ip-range="192.168.3.2/24" -o parent=eth0 conf_net
docker network create -d macvlan --scope swarm --config-from conf_net oh_vlan

```

test\_net1.yml

```auto
version: '3'
services:
  test1:
    image: nginx:stable-alpine
    networks:
      - oh_vlan
   
  test2:
    image: nginx:stable-alpine
    networks:
      - oh_vlan
   
networks:
 oh_vlan:
   external:
     name: oh_vlan

```

deploying the services

```auto
$ docker stack deploy -c test_net1.yml net_test1
Creating service net_test1_test1
Creating service net_test1_test2

```

when I look at my router/dns/dhcp server (Fritzbox) I see following entries:

 ![image](https://canada1.discourse-cdn.com/flex031/uploads/mobyproject/original/1X/4d803e91194fbc3d8c6bebaa0d3d8024e144a6e6.png)

Is there any way to control names which are entered there, as these are the names for accessing the service from the host network.

---

<div class="post-metadata">

**Author:** ![lukicsl](https://avatars.discourse-cdn.com/v4/letter/l/dfb087/32.png) [@lukicsl](https://forums.mobyproject.org/u/lukicsl)\
**Post date:** [January 16, 2019, 9:10am UTC](https://forums.mobyproject.org/t/defining-name-on-host-network/349/2 "2019-01-16T09:10:40Z")

</div>

Had such entry too:

 ![image](https://canada1.discourse-cdn.com/flex031/uploads/mobyproject/original/1X/8aa32de8dce6fb67a7c97232a063358406a07bdd.png)
