Ask Your Question
0

Setting /etc/resolv.conf Parameters

asked 2015-06-30 10:28:19 -0500

bradnold gravatar image

updated 2015-06-30 12:29:54 -0500

I have resolved half of the problem by specifying the DNS servers using the neutron subnet-update command to override the default DNS servers but I an unable to figure out how to set the search parameter and domain.

Example:

search openstacklocal
nameserver 10.128.0.25
nameserver 10.128.0.26

How do I make it look like:

domain mydomain.com
nameserver 10.128.0.25
nameserver 10.128.0.26
search subdomain.mydomain.com subdomain.mydomain.com

Changing on the network node, update in the "dhcp_agent.ini" file

dhcp_domain = mydomain.com

Results in

search mydomain.com
nameserver 10.128.0.25
nameserver 10.128.0.26

I'm still missing the domain parameter as well as multiple search domains

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
1

answered 2015-06-30 10:33:35 -0500

fgorbat gravatar image

on the network node, update in the "dhcp_agent.ini" file

dhcp_domain = mydomain.com

dns records can be defined in the tenant subnet definition.

edit flag offensive delete link more

Comments

Thanks! See edits. Your option seemed to get me half way there.

bradnold gravatar imagebradnold ( 2015-06-30 12:28:33 -0500 )edit

Are you saying that you can set the dhcp_domain per subnet in tenants subnet definitions in Horizon, if so then how? I only see Allocation Pools, DNS Name Servers and Host Routes

davideagle gravatar imagedavideagle ( 2015-12-02 09:27:42 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

Stats

Asked: 2015-06-30 10:28:19 -0500

Seen: 1,807 times

Last updated: Jun 30 '15