# .local dns zones

**URL:** <https://forums.suse.com/t/local-dns-zones/22954>\
**Category:** SLES Networking\
**Created:** [August 10, 2012, 4:31pm UTC](https://forums.suse.com/t/local-dns-zones/22954 "2012-08-10T16:31:06Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![System1](https://avatars.discourse-cdn.com/v4/letter/s/51bf81/32.png) [@System1](https://forums.suse.com/u/System1)\
**Post date:** [August 10, 2012, 4:31pm UTC](https://forums.suse.com/t/local-dns-zones/22954/1 "2012-08-10T16:31:06Z")

</div>

In earlier versions of SLES i was able to fix a name resolution problem  
by adding mdns off to the /etc/host.conf file.

What can i do with SLES11 servers? I read that this entry is no longer  
supported.

---

<div class="post-metadata">

**Author:** ![malcolmlewis](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/malcolmlewis/32/11375_2.png) [@malcolmlewis](https://forums.suse.com/u/malcolmlewis)\
**Post date:** [August 10, 2012, 4:49pm UTC](https://forums.suse.com/t/local-dns-zones/22954/2 "2012-08-10T16:49:39Z")

</div>

[QUOTE=maxx]In earlier versions of SLES i was able to fix a name  
resolution problem by adding mdns off to the /etc/host.conf file.

What can i do with SLES11 servers? I read that this entry is no longer  
supported.  
[/QUOTE]  
Hi  
Try adding the following to your grub boot option;

```auto
nomdns=1
```

See section 2.13;  
[http://www.suse.com/documentation/sled11/singlehtml/book\_sle\_admin/book\_sle\_admin.html](http://www.suse.com/documentation/sled11/singlehtml/book_sle_admin/book_sle_admin.html)

–  
Cheers Malcolm Â°Â¿Â° (Linux Counter #276890)  
SUSE Linux Enterprise Desktop 11 (x86\_64) Kernel 3.0.34-0.7-default  
up 12 days 10:20, 2 users, load average: 0.87, 0.58, 0.54  
CPU Intel i5 CPU M520@2.40GHz | Intel Arrandale GPU

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex022/uploads/suse/original/2X/5/5012ba89e3ffb5220dac47d5ea0ba032e2fe1cb6.png) [@system](https://forums.suse.com/u/system)\
**Post date:** [August 10, 2012, 7:22pm UTC](https://forums.suse.com/t/local-dns-zones/22954/3 "2012-08-10T19:22:03Z")

</div>

Hi thanks,  
according the manual this solution is for the installation. the manual  
references to the documentation of host.conf. A paramter for multicast  
dns is not defined anymore :

[http://man.sourcentral.org/SLES11/5+host.conf](http://man.sourcentral.org/SLES11/5+host.conf)

On 10.08.2012 15:49, malcolmlewis wrote:[color=blue]

> [QUOTE=maxx]In earlier versions of SLES i was able to fix a name  
> resolution problem by adding mdns off to the /etc/host.conf file.
> 
> What can i do with SLES11 servers? I read that this entry is no longer  
> supported.  
> [/QUOTE]  
> Hi  
> Try adding the following to your grub boot option;
> 
> ```auto
> nomdns=1
> ```
> 
> See section 2.13;  
> [http://www.suse.com/documentation/sled11/singlehtml/book\_sle\_admin/book\_sle\_admin.html](http://www.suse.com/documentation/sled11/singlehtml/book_sle_admin/book_sle_admin.html)  
> [/color]

---

<div class="post-metadata">

**Author:** ![malcolmlewis](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/malcolmlewis/32/11375_2.png) [@malcolmlewis](https://forums.suse.com/u/malcolmlewis)\
**Post date:** [August 10, 2012, 8:01pm UTC](https://forums.suse.com/t/local-dns-zones/22954/4 "2012-08-10T20:01:19Z")

</div>

[QUOTE=maxx]Hi thanks,  
according the manual this solution is for the installation. the manual  
references to the documentation of host.conf. A paramter for multicast  
dns is not defined anymore :

[http://man.sourcentral.org/SLES11/5+host.conf](http://man.sourcentral.org/SLES11/5+host.conf)

On 10.08.2012 15:49, malcolmlewis wrote:[color=blue]

> [QUOTE=maxx]In earlier versions of SLES i was able to fix a name  
> resolution problem by adding mdns off to the /etc/host.conf file.
> 
> What can i do with SLES11 servers? I read that this entry is no longer  
> supported.  
> [/QUOTE]  
> Hi  
> Try adding the following to your grub boot option;
> 
> ```auto
> nomdns=1
> ```
> 
> See section 2.13;  
> [http://www.suse.com/documentation/sled11/singlehtml/book\_sle\_admin/book\_sle\_admin.html](http://www.suse.com/documentation/sled11/singlehtml/book_sle_admin/book_sle_admin.html)  
> [/color]

[/QUOTE]  
Hi  
Just a thought to try, since it’s a passable option at boot time…

Have you disabled the avahi-daemon? Either that or maybe configuring  
options in avahi-daemon.conf (both have man pages)

–  
Cheers Malcolm Â°Â¿Â° (Linux Counter #276890)  
SUSE Linux Enterprise Desktop 11 (x86\_64) Kernel 3.0.34-0.7-default  
up 12 days 13:24, 2 users, load average: 0.46, 0.44, 0.41  
CPU Intel i5 CPU M520@2.40GHz | Intel Arrandale GPU

---

<div class="post-metadata">

**Author:** ![Willem1](https://avatars.discourse-cdn.com/v4/letter/w/c57346/32.png) [@Willem1](https://forums.suse.com/u/Willem1)\
**Post date:** [August 11, 2012, 1:40pm UTC](https://forums.suse.com/t/local-dns-zones/22954/5 "2012-08-11T13:40:30Z")

</div>

[QUOTE=maxx;6164]In earlier versions of SLES i was able to fix a name resolution problem  
by adding mdns off to the /etc/host.conf file.

What can i do with SLES11 servers? I read that this entry is no longer  
supported.[/QUOTE]

The setting has been moved to /etc/nsswitch.conf. If the line “hosts:” contains a listing for mdns\*, mdns4\_minimal - simply remove it. If it’s set, you can also remove the “[NOTFOUND=return]” option so the search entry after it (dns in most cases) will also be searched when nothing is found in the previous search. That might be enough while keeping a setting like mdns4\_minimal in there.

Hope that helps,  
Willem

---

<div class="post-metadata">

**Author:** ![Willem1](https://avatars.discourse-cdn.com/v4/letter/w/c57346/32.png) [@Willem1](https://forums.suse.com/u/Willem1)\
**Post date:** [August 11, 2012, 1:51pm UTC](https://forums.suse.com/t/local-dns-zones/22954/6 "2012-08-11T13:51:36Z")

</div>

> [@Magic31;6178](#):
>
> The setting has been moved to /etc/nsswitch.conf.

Added note so specify this more correctly… the setting in /etc/host.conf has not so much moved to /etc/nsswitch.conf. Both those configuration methods/files could be used in the past, but the /etc/host.conf is an older way of configuring things and has become somewhat obsolete. nsswitch.conf can also control many more aspects and host.conf mainly still there for compatibility with older packages AFAIK.

-Willem
