how to change dns in suse linux 11.3

i don’t know how to change the dns to the dns of Google 8.8.8.8 as primary and 8.8.4.4 as secondary

in version 11
there is icon marked as update dns service via dhcp after u unmark it u can put it manual

in 11.3 there is no icon

  • there is no separate icon for the dns configuration in the network service category

so how can i change the dns ???

On Tue October 5 2010 06:06 pm, bishoy02010 wrote:

>
> i don’t know how to change the dns to the dns of Google 8.8.8.8 as
> primary and 8.8.4.4 as secondary
>
> in version 11
> there is icon marked as update dns service via dhcp after u unmark it u
> can put it manual
>
> in 11.3 there is no icon
>
> + there is no separate icon for the dns configuration in the network
> service category
>
> so how can i change the dns ???
>
>
bishoy02010;

Look in YaST–>Network Devices–>Network setttings–>Hostname/DNS. This was
from 11.2 so there may be some minor changes in 11.3 but “AFAIK” (as far as I
know) this stuff has not changed much in a long time.

P. V.
“We’re all in this together, I’m pulling for you.” Red Green

And when the above fails. or if you like the CLI, edit /etc/resolv.conf.

i open YaST–>Network Devices–>Network setttings–>Hostname/DNS but unfortunately there isn’t a way to change the dns

about the cli i like it but can u give me more details to edit in the file

i found no dns number i found / / / to files in the file u told me so what can i do

I’m sorry I’m just beginner

by the way do u know what is the problem of firefox which came with suse !!!

by chance i put google chrome … i think the site surfing has became faster almost 3 times firefox !! is there a problem in firefox or something needs to be changed

bishoy02010 wrote:

>
> i open YaST–>Network Devices–>Network setttings–>Hostname/DNS but
> unfortunately there isn’t a way to change the dns

Try again, this is where you do it.

i know well that this is the right place
but in 11.3 there is no where to write in it the dns i’m sure

That’s how I assigned DNS.

However, I do have my system configured to use a static IP (on the local private LAN), instead of getting its IP via DHCP.

i do the same static ip but no dns place to write

just the sub net mask :slight_smile:

do u have 11.3 ???

Yes, I have 11.3.

I’m not sure where you are missing it. I recall that the place to enter DNS was not obvious.

In any case, since you are setting a static IP on your LAN, there is a far simpler alternative. As root, edit the file “/etc/sysconfig/network/config”. There should be a line

NETCONFIG_DNS_POLICY=“auto”

Immediately below that, enter:

NETCONFIG_DNS_POLICY=""

There should be comments explaining what this does.

Next edit “/etc/resolv.conf” and enter your preferred DNS servers there on “nameserver” lines.

thanks a lot

if u can print screen where u enter the dns in the gui i will be so thankful

I had been using gnome with my previous version of opensuse. For 11.3, I switch to kde. And, now that you mention it, I haven’t yet worked out how to do a screen print under kde.

At the moment, I have started Yast. There’s a heading “Network Devices”, and under that a “Network Settings”. Clicking that “Network Settings” gives menu buttons for “Global Options”, “Overview”, “Hostname/DNS” and “Routing”. Selecting the “Hostname/DNS” button allows you to set DNS servers, and to specify whether this is under manual control.

I hope that helps.

On Wed October 6 2010 07:06 pm, nrickert wrote:

>
> I had been using gnome with my previous version of opensuse. For 11.3,
> I switch to kde. And, now that you mention it, I haven’t yet worked out
> how to do a screen print under kde.
>
> At the moment, I have started Yast. There’s a heading “Network
> Devices”, and under that a “Network Settings”. Clicking that “Network
> Settings” gives menu buttons for “Global Options”, “Overview”,
> “Hostname/DNS” and “Routing”. Selecting the “Hostname/DNS” button
> allows you to set DNS servers, and to specify whether this is under
> manual control.
>
> I hope that helps.
>
>
bishoy02010;

If you are still having problems locating this, try reading this HowTo. It has
some screen shots and more detailed instructions to guide you.
http://opensuse.swerdna.org/susenic.html

P. V.
“We’re all in this together, I’m pulling for you.” Red Green

i still have problems

also when i try to use static dns

the internet connection lost

any way

the main problem is in the dns still

and i have capture screens so u can easily tell me where can i type the dns

http://i647.photobucket.com/albums/uu192/bishoy02010/Screenshot6.png

http://i647.photobucket.com/albums/uu192/bishoy02010/Screenshot.png

You have a little button for “Modify DNS configuration”. It is currently set to “Use default policy”. You should have other choices. I am seeing “Use custom policy” and “Only manually” as the choices.

I think if you set it to “Use custom policy” it should take the DNS servers you enter. If you use “Only manually” then you have to edit “/etc/resolv.conf” to set your DNS servers. I am doing the latter.

On Fri October 8 2010 09:06 pm, bishoy02010 wrote:

>
> i still have problems
>
> also when i try to use static dns
>
> the internet connection lost
>
> any way
>
> the main problem is in the dns still
>
> and i have capture screens so u can easily tell me where can i type the
> dns
>
> [image:
> http://i647.photobucket.com/albums/uu192/bishoy02010/Screenshot6.png]
>
> [image:
> http://i647.photobucket.com/albums/uu192/bishoy02010/Screenshot.png]
>
>
bishoy02010;
In your first image (Screenshot6.png); enter the IPs of the DNS servers in the
boxes “Name Server 1” and “Name Server 2” and if needed “Name Server 3”.
These are located on the Bottom Left of the screen. (note DNS is short for
Domain Name System)


P. V.
“We’re all in this together, I’m pulling for you.” Red Green

On 2010-10-09 05:48, PV wrote:
> On Fri October 8 2010 09:06 pm, bishoy02010 wrote:
>
>>
>> i still have problems
>>
>> also when i try to use static dns
>>
>> the internet connection lost
>>
>> any way
>>
>> the main problem is in the dns still
>>
>> and i have capture screens so u can easily tell me where can i type the
>> dns
>>
>> [image:
>> http://i647.photobucket.com/albums/uu192/bishoy02010/Screenshot6.png]
>>
>> [image:
>> http://i647.photobucket.com/albums/uu192/bishoy02010/Screenshot.png]
>>
>>
> bishoy02010;
> In your first image (Screenshot6.png); enter the IPs of the DNS servers in the
> boxes “Name Server 1” and “Name Server 2” and if needed “Name Server 3”.
> These are located on the Bottom Left of the screen. (note DNS is short for
> Domain Name System)

Provided he removes the name “google” above.


Cheers / Saludos,

Carlos E. R.
(from 11.2 x86_64 “Emerald” at Telcontar)

On Sat October 9 2010 12:54 pm, Carlos E. R. wrote:

> On 2010-10-09 05:48, PV wrote:
>> On Fri October 8 2010 09:06 pm, bishoy02010 wrote:
<snip>
>
> Provided he removes the name “google” above.
>
Carlos;

I could not really see/read that entry and so did not comment. I was afraid
it said “google” but assumed it was just my low resolution that made it
appear that way.

P. V.
“We’re all in this together, I’m pulling for you.” Red Green

On 2010-10-10 01:04, PV wrote:
> On Sat October 9 2010 12:54 pm, Carlos E. R. wrote:

> I could not really see/read that entry and so did not comment. I was afraid
> it said “google” but assumed it was just my low resolution that made it
> appear that way.

:slight_smile:

I fear he thought that was the entry for the DNS, but it is the name that would be given to his
machine. Which is a conflict…


Cheers / Saludos,

Carlos E. R.
(from 11.2 x86_64 “Emerald” at Telcontar)

On Sat October 9 2010 09:24 pm, Carlos E. R. wrote:

> On 2010-10-10 01:04, PV wrote:
>> On Sat October 9 2010 12:54 pm, Carlos E. R. wrote:
>
>> I could not really see/read that entry and so did not comment. I was
afraid
>> it said “google” but assumed it was just my low resolution that made it
>> appear that way.
>
> :slight_smile:
>
> I fear he thought that was the entry for the DNS, but it is the name that
would be given to his
> machine. Which is a conflict…
>
bishov02010;

When you enter the DNS servers you need to use IP numbers. For the Google
public servers these are: 8.8.8.8 and 8.8.4.4. As you mentioned in an
earlier post that you are configuring a static IP for your machine, you need
to use a private IP number. Small systems normally use the Class C private
IPs of the form: 192.168.x.y with a mask of 255.255.255.0 where x is
generally 0 or 1 and 0<y<255. You also need to be sure to configure your
default gateway to the IP of your router. Since most consumer level routers
have an IP of 192.168.0.1 or 192.168.1.1, make sure the IP you assign your
machine does not conflict. The third octet should be the same on all your
devices, but each network device needs a unique IP.

P. V.
“We’re all in this together, I’m pulling for you.” Red Green

thanks a lot

now i have another strange problem if you all could help

Very Strange Problem In The boot